Search found 9 matches
- Fri Jan 12, 2007 2:47 am
- Forum: Help/Support
- Topic: autoreset XP when someone for example reach 100000 XP -help!
- Replies: 22
- Views: 50397
[small]//Resets everything to 0 if the xp is over 150000 if ( p_data[id][P_XP] > 150000 ) { p_data[id][P_LEVEL] = 0; p_data[id][P_XP] = 0; p_data[id][P_SKILL1] = 0; p_data[id][P_SKILL2] = 0; p_data[id][P_SKILL3] = 0; p_data[id][P_ULTIMATE] = 0; WAR3_Display_Level(id, DISPLAYLEVEL_NONE); client_print...
- Wed Jan 03, 2007 5:24 pm
- Forum: Help/Support
- Topic: autoreset XP when someone for example reach 100000 XP -help!
- Replies: 22
- Views: 50397
- Sat Dec 16, 2006 10:34 am
- Forum: Help/Support
- Topic: autoreset XP when someone for example reach 100000 XP -help!
- Replies: 22
- Views: 50397
- Thu Dec 14, 2006 7:26 pm
- Forum: Help/Support
- Topic: autoreset XP when someone for example reach 100000 XP -help!
- Replies: 22
- Views: 50397
This code what you give me don't work or this is for other wersion then WC3:FT v2.3.2 . Can you help me anyway ? I'm quite sure then modyfikate code of Xp_Reset(id) in XP.inl and put some command in warcraft3FT.sma can help to reset xp when someone have 10000. Modification of this code is smply i th...
- Thu Dec 14, 2006 5:34 pm
- Forum: Help/Support
- Topic: autoreset XP when someone for example reach 100000 XP -help!
- Replies: 22
- Views: 50397
I will try this and tell you if this work... But I think then this code should be diffrend: [small] // Save the user's XP public DB_SaveXP( id ) { if ( id >= TASK_SAVE ) { id -= TASK_SAVE; } if ( !WC3_Check() ) { return; } new iRaceID = p_data[id][P_RACE]; if ( iRaceID == 0 || !get_pcvar_num( CVAR_w...
- Thu Dec 14, 2006 11:12 am
- Forum: Help/Support
- Topic: autoreset XP when someone for example reach 100000 XP -help!
- Replies: 22
- Views: 50397
- Thu Dec 14, 2006 3:30 am
- Forum: Help/Support
- Topic: autoreset XP when someone for example reach 100000 XP -help!
- Replies: 22
- Views: 50397
I have got better idea, to write some code in Xp.inl and compile it. Please help to modyficate this code or create new: [small]// Reset the user's XP when someone have some xp to 0 public XP_Resett(id) { if (XP>100000) return PLUGIN_CONTINUE; p_data[id][P_LEVEL] = 0; p_data[id][P_XP] = 0; p_data[id]...
- Wed Dec 13, 2006 8:46 am
- Forum: Help/Support
- Topic: autoreset XP when someone for example reach 100000 XP -help!
- Replies: 22
- Views: 50397
- Wed Dec 13, 2006 7:29 am
- Forum: Help/Support
- Topic: autoreset XP when someone for example reach 100000 XP -help!
- Replies: 22
- Views: 50397
autoreset XP when someone for example reach 100000 XP -help!
War3ft Version: WC3:FT v2.3.2 Amxmodx Version: AMXX v1.76b Metamod Version: MM v1.19p28 Hello ! {Sory for my bad english} As the subject says I want to set autoreset xp for people who have 100 000 xp. I was searching in google, forums for many hours and I don't find the solutions. On my serwer XP sa...