Weapon Loading
#1

Our weapon saving system works; However when the player relogs, the weapons don't load; I have checked the script and found its not giving them back their weapons; So I came about trying to fix;
This is what i have;

pawn Код:
PlayerInfo[playerid][pWeapon][0] = dini_Int(file, "wSlot0");
    PlayerInfo[playerid][pWeaponAmmo][0] = dini_Int(file, "wSlot0Ammo");

// Me Trying To Fix ((Error Line - 1742))

    GiveZaiatWeapon(playerid, pWeapon[0], pWeaponAmmo[0]);
pawn Код:
C:\Users\~\Desktop\BCRP29R641.pwn(1724) : error 028: invalid subscript (not an array or too many subscripts): "pWeapon"
C:\Users\~\Desktop\BCRP29R641.pwn(1724) : warning 215: expression has no effect
C:\Users\~\Desktop\BCRP29R641.pwn(1724) : error 001: expected token: ";", but found "]"
C:\Users\~\Desktop\BCRP29R641.pwn(1724) : error 029: invalid expression, assumed zero
C:\Users\~\Desktop\BCRP29R641.pwn(1724) : fatal error 107: too many error messages on one line

Any Ideas? If you need to see any more just yell :O
Reply


Messages In This Thread
Weapon Loading - by StuartD - 05.01.2013, 01:40
Re: Weapon Loading - by Grim_ - 05.01.2013, 02:18
Re: Weapon Loading - by StuartD - 05.01.2013, 02:23
Re: Weapon Loading - by Grim_ - 05.01.2013, 02:25
Re: Weapon Loading - by StuartD - 05.01.2013, 02:26

Forum Jump:


Users browsing this thread: 1 Guest(s)