Jump to content
  • 0

1 warning


Jack

Question

Salut,am aceasta comanda

if(strcmp(cmdtext,"/score",true))
{
new string[128];
format(string, sizeof(string), "Score: %i",GetPlayerScore(playerid));
SendClientMessage(playerid,0xAA3333AA, string);
return 1;
}
Si dupa ce am compilat imi da acest warning
D:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\NT.pwn(270) : warning 219: local variable "string" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.

tumblr_ll5sj3LUoZ1qgjpfvo1_250.gif
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.