Weapon save and load?
#1

Hey guys

I try to save guns in my player file. But it only saves the gun. When i enter the game it doesen't load the gun..

save:

Код:
  new waffe, ammo;
  	   GetPlayerWeaponData(playerid,2,waffe,ammo);
	    dini_IntSet(Spielerdatei,"Wslot1",waffe);
	    dini_IntSet(Spielerdatei,"Mslot1",ammo);
Load:
Код:
GivePlayerWeapon(playerid, dini_Int(Spielerdatei, "Wslot1"),dini_Int(Spielerdatei,"Mslot1"));
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)