SA-MP Forums Archive
[Help] Tag mismatch - 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: [Help] Tag mismatch (/showthread.php?tid=448426)



[Help] Tag mismatch - KrishkoW - 04.07.2013

pawn Код:
new locked[32];
if(IsLocked[GetPlayerVehicleID(playerid)] == true) locked = "~r~LOCK";
else locked = "~g~UNLOCK";
warning 213: tag mismatch

on This line : if(IsLocked[GetPlayerVehicleID(playerid)] == true) locked = "~r~LOCK";


Ig anyone have any soultions please help!


Re: [Help] Tag mismatch - Vince - 04.07.2013

Change true to 1 or declare your IsLocked variable with the bool: tag. Or just leave it out altogether.


Re: [Help] Tag mismatch - Cjgogo - 04.07.2013

Removed!