Two questions about pickups
#3

Answers:

1.There isn't any difference between pickup; and pickup[MAX_PLAYERS];.
2.Just under public OnPlayerPickupPickUp(playerid, pickupid), add this function DestroyPickup(pickup);

For example:

public OnPlayerPickupPickUp(playerid, pickupid)
{
if(pickupid == pickup)
{
SendClientMessage(playerid, -1, "JAJA ITS A PICKUP");
DestroyPickup(pickup);
}
return 1;
}
Reply


Messages In This Thread
Two questions about pickups - by Pokemon64 - 21.03.2017, 10:42
Re: Two questions about pickups - by Pokemon64 - 22.03.2017, 16:19
Re: Two questions about pickups - by RyderX - 22.03.2017, 17:37
Re: Two questions about pickups - by Pokemon64 - 22.03.2017, 21:34
Re: Two questions about pickups - by ISmokezU - 22.03.2017, 21:52
Re: Two questions about pickups - by Pokemon64 - 22.03.2017, 22:55
Re: Two questions about pickups - by ISmokezU - 22.03.2017, 23:01

Forum Jump:


Users browsing this thread: 1 Guest(s)