01.01.2018, 03:54
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:
Lines 143, 187, 230 are:
Line 255:
Line 336, 396:
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.
Код:
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
Код:
name[MAX_PLAYER_NAME];
Код:
public OnPlayerDisconnect(playerid, reason)
Код:
SSCANF:weapon(string[])