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) == 1) SetPlayerAttachedObject(playerid, 1, 19472, 2, 0.0074, -0.1293, 0.6771, -90.0, 0.0, -90.0, 1, 1, 1); 



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?