16.09.2011, 21:59
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{ //Bodyarmour pickup
if (pickupid == mypickup)
{
SendClientMessage(playerid, 0xAFAFAFAA, "You found a Body Armour.");
SetPlayerArmour(playerid, 100);
}
//Exit pickup of MEDICS
else if(pickupid == mypickup2)
{
SendClientMessage(playerid, 0xAFAFAFAA, "You left the Hospital.");
SetPlayerPos(playerid,1172.9222,-1325.4296,15.3988);
}
return 1;
}