SA-MP Forums Archive
gas mask - 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: gas mask (/showthread.php?tid=596602)



gas mask - GeneralAref - 20.12.2015

what is this code problem? i cant see gas mask.
PHP код:
if(GetPlayerTeam(playerid) == 1SetPlayerAttachedObject(playerid11947220.0074, -0.12930.6771, -90.00.0, -90.0111); 



Re: gas mask - Runn3R - 20.12.2015

In which function is that code located?


Re: gas mask - GeneralAref - 20.12.2015

onplayerspawn


Re: gas mask - SupperRobin6394 - 20.12.2015

Did you set the team using SetPlayerTeam?


Re: gas mask - GeneralAref - 20.12.2015

yeah.


Re: gas mask - SupperRobin6394 - 20.12.2015

Can we see the full OnPlayerSpawn and where you are setting the team?