Weapon Saving help!
#2

Slight bump;

I manage to make the weapon ID and ammo amount get written into the .ini file by my above script, I've updated it slightly so now it gets the player weapon data on disconnect.

But on spawn the player never gets the weapon or the ammo for it.
I use this;

GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon], PlayerInfo[playerid][pAmmo]);


Anyone know how I can use the number from the .ini file in GivePlayerWeapon for weaponID and ammoID?


Or if you just know a better weapon saving system that use s Y_INI please, just send me a link.
Reply


Messages In This Thread
Weapon Saving help! - by TheTerminator - 20.01.2015, 07:32
Re: Weapon Saving help! - by TheTerminator - 20.01.2015, 09:11

Forum Jump:


Users browsing this thread: 2 Guest(s)