Hey,
so I want to be able to force sync a player's inventory at certain points. Eg just after they stop looking at a tent. Or after an admin uses some features of BluePhoenix's admintools.
the .sqf inside the server.pbo compile called Server_playerSync.sqf I think does everything I want (I THINK maybe its making in game items the same as the database but I hope it is the other way around)
If I use:
Will this work? Or not? I want it to force a save of the items, health etc of a player to the database whenever it gets to this point in some of my mission.pbo scripts.
I hope someone knows because I have no idea. Learnt everything I have so far by looking at other peoples code and I have not seen this.
so I want to be able to force sync a player's inventory at certain points. Eg just after they stop looking at a tent. Or after an admin uses some features of BluePhoenix's admintools.
the .sqf inside the server.pbo compile called Server_playerSync.sqf I think does everything I want (I THINK maybe its making in game items the same as the database but I hope it is the other way around)
If I use:
Code:
call server_playerSync;
Will this work? Or not? I want it to force a save of the items, health etc of a player to the database whenever it gets to this point in some of my mission.pbo scripts.
I hope someone knows because I have no idea. Learnt everything I have so far by looking at other peoples code and I have not seen this.