15.12.2014, 06:20
Since you're creating a pickup for every player that dies instead of using playerid here you should use a loop.
Change that to
Код:
Under OnPlayerPickupPickup( ... ) if(pickupid == GiftPickup[playerid]) { //gifts //merry xmas DestroyPickup(GiftPickup); }
Код:
Under OnPlayerPickupPickup( ... ) for(new i = 0; i < MAX_PLAYERs; i++) { if(pickupid == GiftPickup[i]) { //gifts //merry xmas DestroyPickup(GiftPickup); } }