[Pedido] Erro, Clone Nas Armas
#2

й sу dividir por players, [MAX_PLAYERS]

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;
}
Reply


Messages In This Thread
Erro, Clone Nas Armas - by R4ndonsG4mers - 21.07.2013, 01:15
Re: Erro, Clone Nas Armas - by WLSF - 21.07.2013, 02:00
Re: Erro, Clone Nas Armas - by R4ndonsG4mers - 23.07.2013, 17:48

Forum Jump:


Users browsing this thread: 1 Guest(s)