Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-07-2009, 03:59 AM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
Resetting player stats

Ive been using that add on for the control npc to reset stuff, have .txt to join, add weapons, ect ect on player start up. I was wondering, how do you completely reset the players spar rating?

PHP Code:
  this.resetVars = { 
                     { 
"kills", 0 }, 
                     { 
"deaths", 0 },
                     { 
"rating", 1500 },
                     { 
"client.frozen", false } 
                   }; 
} 
Thats what I use, and ive tried putting in 1500/350, but it doesnt work. Need to reset the right side back to 350 as well.
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:40 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.