30.05.2015, 19:03
What is the difference?
Код:
new Pickups[MAX_PLAYERS];
Код:
new Pickups;
new Pickups[MAX_PLAYERS];
new Pickups;
public OnPlayerDeath(playerid, killerid, reason)
{
DestroyPickup(Pickups[playerid]);
Pickups[playerid] = CreatePickup(323, 19, X, Y, Z, 0); // Get the XYZ by player pos
}