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 05-06-2006, 05:34 AM
Prozac Prozac is offline
one of the good guys
Prozac's Avatar
Join Date: Jan 2006
Posts: 245
Prozac is on a distinguished road
Send a message via AIM to Prozac
enablefeatures() help

Ok, I want to change what happens when you press Q on my server.
So, I gotta enable everything BUT q with enablefeatures.
I disabled some stuff but not everything, so it is done clientside
and it looks like this:

NPC Code:

enablefeatures(1,2,8,0x10,0x40,0x80,0x200,0x400,0x 800,0x1000,0x2000,0x4000,0x8000);



given that the wiki says this as paramaters for enablefeatures
PHP Code:
1              P key
4              Q key
8              R key
0x10              S
+A combo
0x20              S
+D combo
0x40              TAB key
0x80              chat text
0x100              hearts overhead
0x200              display of nicknames
0x400              toall
/PM bubbles
0x800              right
-click profiles
0x1000              emoticons
0x2000              Alt
+5 snapshots
0x4000              Alt
+8/9 zooming
0x8000              logframe
allfeatures     all features 
good news: it disables the q menu.
Bad news ...
0x80 is ENABLED, as we told it to be, BUT there is now NO CHAT TEXT above the player!
and ox200 is ENABLED but now there are NO NICKNAMES displayed!
this is the only instance of enablefeatures
and it breaks, or rather, DISABLES things! Ack! help!
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 01:15 PM.


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