20.01.2015, 09:11
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.
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.