30.05.2015, 19:09
Well, Pickupsp[MAX_PLAYERS] is an array, you can use it for each player ids.
but Pickups is a simple variable.
ex:
Now every player who dies, a pickup where he died is made.
but Pickups is a simple variable.
ex:
Код:
public OnPlayerDeath(playerid, killerid, reason) { DestroyPickup(Pickups[playerid]); Pickups[playerid] = CreatePickup(323, 19, X, Y, Z, 0); // Get the XYZ by player pos }