04.12.2010, 19:15
Use this:
pawn Код:
public OnPlayerUpdate(playerid)
{
new Float:armour;
GetPlayerArmour(playerid, armour);
if(armour >= 1.0)
{
SetPlayerHoldingObject(playerid, 373, 1, 0.283546, 0.001720, -0.167524, 74.198112, 20.393077, 35.485473 ); // armour
}
return 1;
}