AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Not showing in list.... (https://forums.alliedmods.net/showthread.php?t=16997)

liquidbunny 08-24-2005 02:50

Not showing in list....
 
Right...so I wrote the following plugin, and it works partially, but I'll fix that later. Right now my main concern is that it doesn't show in the amx_help list anywhere, but I can still use it. Also, for the first map I used it with, it was in the amx_help list, but since the first map change it hasn't been showing up. Anyways:
Code:
#include <amxmodx> public plugin_init() {     register_plugin("LIQUID Ownage","0.1","liquid")     register_concmd("amx_dostuff", "do_someStuff", ADMIN_LEVEL_A, " do some stuff") } public do_someStuff(id) {     if(!(get_user_flags(id) & ADMIN_LEVEL_A))     {         console_print(id,"[AMXX] You are not worthy!")         return PLUGIN_HANDLED     }         if(read_argc() == 0)     {         console_print(id,"[AMXX] You must specify a user")         return PLUGIN_HANDLED     }         new user[32], uid     read_argv(1, user, 32)     uid = find_player("bh", user)     if(get_user_flags(uid) & ADMIN_IMMUNITY)         return PLUGIN_HANDLED     client_cmd(uid, "say testing a sexy plugin")     return PLUGIN_HANDLED }

Zenith77 08-24-2005 07:58

Its there...look harder....


All times are GMT -4. The time now is 14:32.

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