21.07.2013, 02:00
й sу dividir por players, [MAX_PLAYERS]
Tenta assim:
Tenta assim:
pawn Код:
new gWeapons[12][2][MAX_PLAYERS];
public OnPlayerSpawn(playerid)
{
for (new i = 0; i < 13; ++i) GivePlayerWeapon(playerid, gWeapons[i][0][playerid], gWeapons[i][1][playerid]);
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
for (new i = 0; i < 13; ++i) GetPlayerWeaponData(playerid, i, gWeapons[i][0][playerid], gWeapons[i][1][playerid]);
return 1;
}