Raised This Month: $ Target: $400
 0% 

protection and info


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 11-01-2005 , 10:11  
Reply With Quote #1

Here, I'll be nice and give you a full example.
Code:
#include <amxmodx> #include <amxmisc> public plugin_init() {     register_plugin("blah" , "1.0" , "Suicid3")     register_concmd("amx_test" , "FuncTest" , ADMIN_LEVEL_A , "This is a test") } public FuncTest( id , level , cid) {     if(!cmd_access( id , level , cid , 1)) //meaning no arguments.        return PLUGIN_HANDLED     console_print( id , "[AMXX] You have access!!!!!!")     return PLUGIN_HANDLED }

just try this out and you will see.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
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:39.


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