SA-MP Forums Archive
name_shadow - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: name_shadow (/showthread.php?tid=286547)



name_shadow - Salsa - 29.09.2011

what is this help me

Код:
C:\Documents and Settings\XPPRESP3\Desktop\samp03csvr_R5_win32\pawno\include\properties.inc(72) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Documents and Settings\XPPRESP3\Desktop\samp03csvr_R5_win32\filterscripts\Exmpale.pwn(529) : warning 219: local variable "name" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.



Re: name_shadow - serman - 29.09.2011

Change Your name variable name to pName or other in Example.pwn Line ( 529 )


Re: name_shadow - Salsa - 29.09.2011

thats line have error

Quote:

new name[MAX_PLAYER_NAME];




Re: name_shadow - serman - 29.09.2011

change it to new pName[MAX_PLAYER_NAME];
And Also Change

GetPlayerName(playerid,pName,sizeof(pName));


Re: name_shadow - Salsa - 29.09.2011

thank you man u really help me all times