SA-MP Forums Archive
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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Tag Mismatch (/showthread.php?tid=74587)



Tag Mismatch - Robbin237 - 24.04.2009

pawn Код:
if(Alarmed[vehid] == 1 && !playerid == Owner[vehid])
This line gives me a tag mismatch, because of the ! in front of playerid. But whats wrong with it?

Thnx


Re: Tag Mismatch - Think - 24.04.2009

Quote:
Originally Posted by Robbin237
pawn Код:
if(Alarmed[vehid] == 1 && !playerid == Owner[vehid])
This line gives me a tag mismatch, because of the ! in front of playerid. But whats wrong with it?

Thnx
pawn Код:
if(Alarmed[vehid] == 1 && playerid != Owner[vehid])