SA-MP Forums Archive
How set spawn armour? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How set spawn armour? (/showthread.php?tid=85808)



How set spawn armour? - GforceNL - 09.07.2009

Hi,
How can i set Spawn armour?
Plz help me


Re: How set spawn armour? - Anarkien - 09.07.2009

pawn Код:
public OnPlayerSpawn(playerid)
{
    SetPlayerArmour(playerid,100);
    return 1;
}
'100' - full armour. If you want 50% armour, just put in '50' instead of '100'


Re: How set spawn armour? - GforceNL - 09.07.2009

Quote:
Originally Posted by Anarkien
pawn Код:
public OnPlayerSpawn(playerid)
{
    SetPlayerArmour(playerid,100);
    return 1;
}
'100' - full armour. If you want 50% armour, just put in '50' instead of '100'
Thnx For helping me Again