Raised This Month: $ Target: $400
 0% 

Custom message in console when access is denied


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 11-06-2005 , 20:02  
Reply With Quote #1

Quote:
Originally Posted by v3x
Take out the first return.
actually... no, you need it, but you need {}
Also I would recomend console_print, just cause I like it better


Code:
 public cmd_HLMPmenu(id, level, cid) {     if (!cmd_access(id,level,cid,1))  {          console_print(id, "Custom message")            return PLUGIN_HANDLED      }     showMenu(id, g_showPos[id])     return PLUGIN_HANDLED }
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
Reply



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 -4. The time now is 23:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode