SA-MP Forums Archive
strange warning - 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: strange warning (/showthread.php?tid=307836)



strange warning - myandyou - 01.01.2012

: warning 213: tag mismatch



I have this warning on this line:


Admin = CreatePickup(1275, 1, 1122.7618,-2036.4864,69.8941, -1);

what to do?


Re: strange warning - Dark_Kostas - 01.01.2012

How do you create the variable Admin? Also it would be good to use another name like AdminPickup


Re: strange warning - Unknownich - 01.01.2012

try this

Admin = CreatePickup(1275, 1, 1122.7618,-2036.4864,69.8941, -1.0);


Re: strange warning - THE_KNOWN - 01.01.2012

change Admin[MAX_PLAYERS] //if there are any brackets beside "Admin"
to just Admin where it is being declared.

Do:
Open Script
Ctrl + F
type "Admin["
search
remove the [] and what ever is inside the []
compile


Re: strange warning - myandyou - 01.01.2012

i made it adminpickup and the warning is gone thank you!