View Single Post
  #10  
Old 07-21-2008, 03:27 AM
Knightmare1 Knightmare1 is offline
Billy Allan
Knightmare1's Avatar
Join Date: Apr 2007
Posts: 804
Knightmare1 can only hope to improve
this helped me:

Quote:
Originally Posted by Twinny View Post
Put it wherever: just make sure it's clientside. If you're gonna change it alot, try and make some kind of way to easily change between temporary and more permanent states.

Also,
Enable Features
PHP Code:
Value      Description
1     M key 
(map)
2     P key (pause)
4     Q key (weapon select)
8     R key (show ratings)
0x10     S+A key combination for dropping items
0x20     S
+D key combination for switching weapons
0x40     TAB key 
(if disabled then you cannot switch to the chat field with TAB)
0x80     Display of chat text
0x100     Display of the hearts over player heads
0x200     Display of nicknames
0x400     Toall
/PM-icons on the minimap
0x800     Right
-click on players opens their profile
0x1000     Emoticons 
(disable it if you want to do other stuff with control+keys)
0x2000     Alt+for making snapshots (deprecated)
0x4000     Alt+8/for zooming (deprecated)
0x8000     Allows F2 output (savelog()/echo())
allfeatures     All of the previously stated feature flags enabled 
Show Stats
PHP Code:
Value      Description
1     ASD
2     Icons 
(for rupeesbombsarrows)
4     Rupees count
8     Bombs count
0x10     Arrows count
0x20     Hearts
0x40     Alignment 
(apbar
0x80     Magic points 
(mpbar
0x100     Minimap 
(you can only hide ityou can't show it when the player pressed Alt+3)
0x200     Inventory NPCs
0x400     Players
0x800     Right-click on players opens their profile
allstats     All of the previously stated stats flags enabled 
I generally keep those commented somewhere near the code

in your case it would be:
PHP Code:
//#CLIENTSIDE
function onCreated()
{
  
//bla bla bla;
  
enablefeatures(allfeatures-4); 
  
showstats(allstats & ~( 0x200 ));
  
//bla bla bla;