Weapon Saving System [Y_INI]
#1

How to make a weapon saved when player logout ?
Reply
#2

I don't use that file system but i can give you a hand with saving that.
Код:
new Weapons[13];
new Ammo[13];
for(new A,B = 13; A < B; A++)
{
	GetPlayerWeaponData(playerid,A,Weapons[A],Ammo[A]);
}
I recommend put that code in OnPlayerDisconnect. Now you have ids in Weapons variable and ammo of that weapon ids in Ammo variable. Now just save it and load when play first spawn.
Reply
#3

I've seen a script like that..
nah, the problem i can't make it saved when player loggout
Reply
#4

Bikin Sendiri lah...

Kalo susah baru ngomong..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)