22.06.2014, 18:42
pawn Код:
new Pickup;
Pickup=CreatePickup(model, type, Float:X, Float:Y, Float:Z, Virtualworld);
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == Puckup)
{
SetPlayerHealth(playerid,100);
DestroyPickup(Pickup);
}
return 1;
}