Erzengel 7 Report post Posted January 1, 2018 (edited) what is the sqf line to add respect to an player for example after completeing a mission? EDIT: allready got it. for those that also want to know how it works: _target = player; _playerscore = _target getVariable ['ExileScore', 0]; _newscorevalue = _playerscore + 150; _target setVariable ['ExileScore', _newscorevalue]; _target setVariable['PLAYER_STATS_VAR',[_target getVariable ['ExileMoney', 0],_newscorevalue],true]; ExileClientPlayerScore = _newscorevalue; (owner _target) publicVariableClient 'ExileClientPlayerScore'; format['setAccountScore:%1:%2', _newscorevalue, (getPlayerUID _target)] call ExileServer_system_database_query_fireAndForget; in this case we add 150 respect to the player Edited January 1, 2018 by Erzengel Share this post Link to post Share on other sites
Super Jerome 370 Report post Posted January 2, 2018 You posted this in the wrong section mate. When you enter general discussions there's a big red banner that tells you this. Share this post Link to post Share on other sites
Erzengel 7 Report post Posted January 4, 2018 On 2.1.2018 at 5:06 AM, Super Jerome said: You posted this in the wrong section mate. When you enter general discussions there's a big red banner that tells you this. iam sorry. stil dont find the forum to post in most of the time ^^ Share this post Link to post Share on other sites
Super Jerome 370 Report post Posted January 4, 2018 1 hour ago, Erzengel said: iam sorry. stil dont find the forum to post in most of the time ^^ Share this post Link to post Share on other sites