What is the difference?
#3

Well, Pickupsp[MAX_PLAYERS] is an array, you can use it for each player ids.
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
}
Now every player who dies, a pickup where he died is made.
Reply


Messages In This Thread
What is the difference? - by Blackazur - 30.05.2015, 19:03
Re: What is the difference? - by SickAttack - 30.05.2015, 19:08
Re: What is the difference? - by amirm3hdi - 30.05.2015, 19:09

Forum Jump:


Users browsing this thread: 1 Guest(s)