Small help [+rep]
#5

try this:

pawn Код:
new weapons[13][2][MAX_PLAYERS];

public OnPlayerSpawn(playerid)
{
    for (new i = 0; i < 13; i++)
    {
        GivePlayerWeapon(playerid,weapons[i][0][playerid],weapons[i][1][playerid]);
    }
    return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
    for (new i = 0; i < 13; i++)
    {
        GetPlayerWeaponData(playerid,i,weapons[i][0][playerid],weapons[i][1][playerid]);
    }
    return 0;
}
Reply


Messages In This Thread
Small help [+rep] - by Twinki1993 - 25.02.2012, 13:43
Re: Small help [+rep] - by FireCat - 25.02.2012, 13:47
Re: Small help [+rep] - by Mark™ - 25.02.2012, 13:47
Re: Small help [+rep] - by Twinki1993 - 25.02.2012, 13:49
Re: Small help [+rep] - by PawnoQ - 25.02.2012, 13:50
Re: Small help [+rep] - by Twinki1993 - 25.02.2012, 13:55
Re: Small help [+rep] - by iTorran - 25.02.2012, 13:58
Re: Small help [+rep] - by PawnoQ - 25.02.2012, 13:58
Re: Small help [+rep] - by Twinki1993 - 25.02.2012, 13:59

Forum Jump:


Users browsing this thread: 1 Guest(s)