Weapon Saving
#1

I have an enumerator of pWeapon, pAmmo.
On disconnect, the script gets the pWeapon, and pAmmo on slot 0.

PlayerInfo[playerid][pWeapon]
PlayerInfo[playerid][pAmmo]

I made it save in an .ini file as well.

On spawn, I made:

pawn Код:
GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon], PlayerInfo[playerid][pAmmo]);
but it won't give the weapon or do anything really.

Anyone know why?

I use Y_INI
Reply


Messages In This Thread
Weapon Saving - by TheTerminator - 21.01.2015, 07:16
AW: Weapon Saving - by Saize - 21.01.2015, 07:43
Re: Weapon Saving - by TheTerminator - 21.01.2015, 08:35

Forum Jump:


Users browsing this thread: 1 Guest(s)