PDA

View Full Version : strange warning


myandyou
01/01/2012, 10:41 AM
: 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?

Dark_Kostas
01/01/2012, 10:44 AM
How do you create the variable Admin? Also it would be good to use another name like AdminPickup

Unknownich
01/01/2012, 10:55 AM
try this

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

THE_KNOWN
01/01/2012, 10:59 AM
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

myandyou
01/01/2012, 11:00 AM
i made it adminpickup and the warning is gone thank you!