06.03.2012, 06:48
Код:
public OnPlayerPickUpPickup(playerid, pickupid) { if(gTeam[playerid] = t_Police && pickupid == p_Armour && GetPVarInt[playerid]"p_Armour" == 0)//LINE ALL THE ERRORS ARE ON { SetPVarInt(playerid, "p_Armour", 1); SetPlayerArmour(playerid,99.9); GameTextForPlayer(playerid,"~w~FOUND BODY ARMOUR",5000,4); ApplyAnimation(playerid,"BSKTBALL","BBALL_pickup",4.0,0,0,0,0,0); } return 1; }