15.06.2011, 09:52
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:
Load:
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);
Код:
GivePlayerWeapon(playerid, dini_Int(Spielerdatei, "Wslot1"),dini_Int(Spielerdatei,"Mslot1"));