Raised This Month: $ Target: $400
 0% 

Limiting Commands Per Map?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 08-23-2005 , 08:53  
Reply With Quote #2

Depends.

Code:
#include <amxmodx> new done[32] public plugin_init() {        register_concmd("amx_test","test",ADMIN_KICK," - tests to see if it's already been done this map") } public test(id) {        if(done[id]==1)        {               client_print(id,print_console,"[AMXX] You have already done this command")        }        else        {               client_print(id,print_console,"[AMXX] Test successful. LOL INTERNET")         }         done[id]=1         return PLUGIN_HANDLED }
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
 



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 14:32.


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