sscanf2 Error when compiling script
#1

So I am trying to help someone on here by translating a script to english to have posted for others on here and when I compile the script now I cam getting this error for sscanf2:

Код:
C:\Users\Jon\Desktop\New folder (3)\GTA samp test server\pawno\include\sscanf2.inc(143) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Jon\Desktop\New folder (3)\GTA samp test server\pawno\include\sscanf2.inc(187) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Jon\Desktop\New folder (3)\GTA samp test server\pawno\include\sscanf2.inc(230) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Jon\Desktop\New folder (3)\GTA samp test server\pawno\include\sscanf2.inc(255) : warning 219: local variable "reason" shadows a variable at a preceding level
C:\Users\Jon\Desktop\New folder (3)\GTA samp test server\pawno\include\sscanf2.inc(336) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Jon\Desktop\New folder (3)\GTA samp test server\pawno\include\sscanf2.inc(396) : warning 219: local variable "string" shadows a variable at a preceding level
Lines 143, 187, 230 are:

Код:
     		name[MAX_PLAYER_NAME];
Line 255:

Код:
	public OnPlayerDisconnect(playerid, reason)
Line 336, 396:

Код:
SSCANF:weapon(string[])
I don't know how to make them not shadow the other lines, if anyone would be kind enough to help me a bit, it'd be greatly appreciated. Thanks.
Reply


Messages In This Thread
sscanf2 Error when compiling script - by JonnyDeath - 01.01.2018, 03:54
Re: sscanf2 Error when compiling script - by MEW273 - 01.01.2018, 04:29
Re: sscanf2 Error when compiling script - by JonnyDeath - 01.01.2018, 08:39
Re: sscanf2 Error when compiling script - by MEW273 - 01.01.2018, 08:55
Re: sscanf2 Error when compiling script - by RogueDrifter - 01.01.2018, 09:29
Re: sscanf2 Error when compiling script - by rfr - 01.01.2018, 10:00
Re: sscanf2 Error when compiling script - by Logic_ - 01.01.2018, 10:27
Re: sscanf2 Error when compiling script - by JonnyDeath - 01.01.2018, 20:54

Forum Jump:


Users browsing this thread: 1 Guest(s)