SA-MP Forums Archive
Get Team = 0? - 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: Get Team = 0? (/showthread.php?tid=472981)



Get Team = 0? - Alex_Obando - 31.10.2013

pawn Код:
new jp = GetPlayerSpecialAction(i);
            if (jp == SPECIAL_ACTION_USEJETPACK && gClass[i] == JET)
            {
If the player class is JET, Dont send a message I tried adding ! before gClass it didnt worked


Re: Get Team = 0? - Konstantinos - 31.10.2013

pawn Код:
if (jp == SPECIAL_ACTION_USEJETPACK && gClass[i] != JET)
if the player uses jetpack and it's not on the JET class, do something.


Respuesta: Get Team = 0? - Alex_Obando - 31.10.2013

Thanks Rep+
Konstantnos, I wanna talk you its something important
PM me