[Ajuda] Pickup
#3

Quote:

new colete; //var global
public OnGameModeInit ()
{
colete = CreatePickup(1242, 2, 2613.5334,1824.0939,10.8203, 0);
return 1;
}

public OnPlayerPickUpPickup(playerid, 1242)
{
if(pickupid == colete)
{
SetPlayerArmour(playerid, 100);
}
return 1;
}

Vocк colocou a plubic OnPlayerPickUpPickup dentro da OnGameModeInit.
Reply


Messages In This Thread
Pickup - by MituhBR - 16.12.2017, 23:51
Re: Pickup - by Marllun - 17.12.2017, 00:24
Re: Pickup - by JamesDias - 17.12.2017, 00:26
Re: Pickup - by Pool - 17.12.2017, 01:32
Re: Pickup - by MituhBR - 17.12.2017, 11:22

Forum Jump:


Users browsing this thread: 3 Guest(s)