12.12.2014, 13:26
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == pickup_Cash)
{
GivePlayerMoney(playerid, 1000);
}
else if(pickupid == pickup_Health)
{
SetPlayerHealth(playerid, 100); //eu coloco a funзгo aqui correto?
}
return 1;
}