06-29-2011, 22:41
Add this to their modded _mp.ff to get edited stats/prestige/cod points.
This requires a fast restart so also add this somewhere in your modded _mp.ff and use an activator (in a mod menu or crouch+knife)
If it works for you guys I will also post how to get pro perks.
Code:
self.prestigeToggle = <desired prestige>
self.killstat = <desired # of kills>
self.deathstat = <desired # of deaths>
self.timeplayed = <desired times played in seconds>
self.codpo = <desired # of codpoints>
self setClientdvar("activeaction", "vstr KD");
self setClientdvar("KD", "statsetbyname KILLS "+self.killstat+";statsetbyname DEATHS "+self.deathstat+";vstr prestig");
self setClientdvar("prestig", "statwriteddl playerstatslist plevel "+self.prestigeToggle+";vstr cp");
self setClientdvar("cp", "statwriteddl playerstatslist codpoints "+self.codpo+";vstr time");
self setClientdvar("time","statsetbyname TIME_PLAYED_TOTAL "+self.timeplayed+";vstr rnk");
self setClientdvar("rnk","statwriteddl playerstatslist rank 50;vstr rnkk");
self setClientdvar("rnkk","statwriteddl playerstatslist rankxp 1260800;vstr us");
self setClientdvar("us", "updategamerprofile;uploadstats;vstr cr");
self setClientdvar("cr", "say ^1Nity ^2is ^3teh ^5best;vstr nityvars");
self setClientdvar("nityvars", "set ui_items_no_cost 1");
This requires a fast restart so also add this somewhere in your modded _mp.ff and use an activator (in a mod menu or crouch+knife)
Code:
map_restart( false );
If it works for you guys I will also post how to get pro perks.