Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PLAYERUID = getPlayerUID player;
- saveStats={
- _varName=profileNamespace getVariable format["%1%2%3%4%5", "k", "ot", "h", "k", "ey"];
- _realVarArray=profileNamespace getVariable _varName;
- statvars = _realVarArray select 1;
- level = 25;
- experience = 25725;
- next_level_required_exp = 28000 - 25725;
- perk_count = statvars select 3;
- perks = statvars select 4;
- cash = 18676;
- owned_weapons = statvars select 6;
- owned_scopes = statvars select 7;
- owned_launchers = statvars select 8;
- owned_handguns = statvars select 9;
- total_exp = statvars select 10;
- money_earned = statvars select 11;
- playtime = statvars select 12;
- bought_weapon = statvars select 13;
- bought_scope = statvars select 14;
- bought_launcher = statvars select 15;
- bought_handgun = statvars select 16;
- skin_selected = statvars select 17;
- [level,experience,next_level_required_exp,perk_count,perks,+cash,owned_weapons,+owned_scopes,+owned_launchers,+owned_handguns,+total_exp,money_earned,playtime,bought_weapon,bought_scope,bought_launcher,bought_handgun,skin_selected]
- };
- _varName = profileNamespace getVariable format["%1%2%3%4%5", "k", "ot", "h", "k", "ey"];
- _stats = call saveStats;
- profileNamespace setVariable[_varName,[format["%1%2%3%4", "K", "O", "T", "H2"],_stats,"TOBEREPLACED"]];
- saveProfileNamespace;
- hint "Updated profile!";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement