Called when a player picks up a pickup created with CreatePickup.
|playerid||The ID of the player that picked up the pickup.|
|pickupid||The ID of the pickup, returned by CreatePickup.|
It is always called first in gamemode.
pickup_Cash = CreatePickup(1274, 2, 0.0, 0.0, 9.0);
pickup_Health = CreatePickup(1240, 2, 0.0, 0.0, 9.0);
public OnPlayerPickUpPickup(playerid, pickupid)
if (pickupid == pickup_Cash)
else if (pickupid == pickup_Health)