Saving weapons with ammo over 9998
#2

When Ammo is infinite it doesn't save as 9999 or any higher number, it saves as -.... so do
pawn Код:
public DeathGiveWep(playerid)
{
    for (new i = 0; i < 13; i++)
    {
        if(PAdminDeathWeapons[playerid][i][1] < 0) PAdminDeathWeapons[playerid][i][1] = 99999;
        GivePlayerWeapon(playerid, PAdminDeathWeapons[playerid][i][0], PAdminDeathWeapons[playerid][i][1]);
    }
}
Reply


Messages In This Thread
Saving weapons with ammo over 9998 - by SKAzini - 23.02.2013, 12:24
Re: Saving weapons with ammo over 9998 - by [MG]Dimi - 23.02.2013, 13:33

Forum Jump:


Users browsing this thread: 1 Guest(s)