Weapon Loading
#4

You load the data into this array:
pawn Код:
PlayerInfo[playerid][pWeapon][0] = dini_Int(file, "wSlot0");
So, doesn't it make sense that you should give the player the weapon based off the information loaded (which is in that array)?
pawn Код:
GiveZaiatWeapon(playerid, PlayerInfo[playerid][pWeapon][0], PlayerInfo[playerid][pWeaponAmmo][0]);
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)