27.04.2012, 14:16
O que й isso? LOL
Tenta isso:
Tenta isso:
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
KillTimer(DestroyPickup(pickupid));
DestroyPickup(pickupid);
if(pickupid == picVida)
{
new Float:health;
GetPlayerHealth(playerid, health);
SetPlayerHealth(playerid, health + 15);
KillTimer(DestroyPickupVidaTimer[picVida]);
DestroyVidaPickup(pickupid);
}
return 1;
}