hi, im wondering if someone can tell me how to add wc3_setxp <playername> <xp> it alrdy has wc3_givexp <playername> <xp> (gives the player xp and adds it to their current). But i'd like to be able to set ppl xp. So say someone has like 1000 xp. And i want them to have 564123xp. Instead of doing all the math to figure out how much to add, all i have to do is type in wc3_setxp <name> 564123 and they have that much. So it wont add but just sets it, then they can continue gaining/losing xp (depends on wat they do). I have no clue how to script so maybe if someone can edit the file and link me to it or something then i can add it and have setxp.
heres link
http://forums.alliedmods.net/showthread.php?p=129465
Also just a side question. If i were to give someone admin, but i didnt want to allow them access to wc3 commands, how do i find out what flag set wc3 is set as? That way if they get full admin - minus access to wc3 commands i would know what flags they get. I dont know anything bout coding so if someone can like maybe add it to the sma and then either compile it or let me compile it then that would be great.
This wont erase my vault.ini file right? And i would only have to re-add the .amxx file right and it will work right?
lol, another one to haha. Im having problems with the set level. I set it to 2. Meaning when someon joins the server they start at lvl 2, but this isnt happening, ppl join with 0xp and hafta work their way up. Instead of joining at lvl 2 with 200xp. If someone can help clear this up great
Anyways thanks alot in advance!
__________________