07.11.2010, 16:49
Код:
public OnPlayerPickUpPickup(playerid, pickupid) { if( pickupid == HealthPickup) { if(IsPlayerAdmin(playerid)) { SetPlayerHealth(playerid, 100); SendClientMessage(playerid,COLOR_ORANGERED,"You picked up Health!"); } else return SendClientMessage(playerid, COLOR_ORANGERED, "YOu're an admin"); } return 1; }