SA-MP Forums Archive
tag mistmach? - 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: tag mistmach? (/showthread.php?tid=331140)



tag mistmach? - lukas567 - 03.04.2012

Код:
if(!playerDB[playerid][BID]==3)
Sends "Tag mismach" warning...


Re: tag mistmach? - TzAkS. - 03.04.2012

What are you trying to do there?
It should be
Код:
if(playerDB[playerid][BID] !=3)



Re: tag mistmach? - lukas567 - 03.04.2012

Oh... I see... !=3 is needed with integers...

Well I'm making "Buddy" chat, so I need to check "Buddy" IDs...

Thanks! Respect!


Re: tag mistmach? - Jack.7331 - 03.04.2012

Quote:
Originally Posted by TzAkS.
Посмотреть сообщение
What are you trying to do there?
It should be
Код:
if(playerDB[playerid][BID] !=3)
This.

! is used before things such as IsPlayerInRangeOfPoint, IsPlayerInRangeOfVehicle, etc...