SA-MP Forums Archive
[Ajuda] Capacete - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Capacete (/showthread.php?tid=266345)



[Ajuda] Capacete - blackscripter - 04.07.2011

Boas, eu tenho uma duvida, eu meti isto
no Onplayerspawn
SetPlayerAttachedObject(playerid,3 , 18645, 2, 0.07, 0.017, 0, 88, 75, 0);
mas quando uma pessoa morre e volta a nascer aquilo ja nao esta la


Re: [Ajuda] Capacete - Macintosh - 04.07.2011

Aquilo o que o capacete?

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
 SetPlayerAttachedObject(playerid,3 , 18645, 2, 0.07, 0.017, 0, 88, 75, 0);
 return 1;
}



Re: [Ajuda] Capacete - Ricop522 - 04.07.2011

pawn Код:
public OnPlayerSpawn(playerid)
{
    SetPlayerAttachedObject(playerid,3 , 18645, 2, 0.07, 0.017, 0, 88, 75, 0);
     return 1;
}



Re: [Ajuda] Capacete - blackscripter - 04.07.2011

Ja ta totalmente resolvido! OBRIGADГO!


Re: [Ajuda] Capacete - Ricop522 - 04.07.2011

Coloca sу no OnPlayerSpawn ^^


Re: [Ajuda] Capacete - blackscripter - 04.07.2011

Jб ta resolvido! Obrigadгo