21.01.2015, 07:16
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:
but it won't give the weapon or do anything really.
Anyone know why?
I use Y_INI
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]);
Anyone know why?
I use Y_INI