AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   No commands are working. (https://forums.alliedmods.net/showthread.php?t=26358)

NewUser 03-31-2006 21:44

No commands are working.
 
Code:
public plugin_init() { //blah     register_concmd("say /gaben","gabensauce",ADMIN_ALL,"- description bs-"); // Neither are console commands...     register_concmd("amx_gaben","gabenify",ADMIN_ALL,"- description stuffzorz -"); public gabenify(id) {     client_print(id,print_chat, "lawl you have been gabenified.");     return PLUGIN_HANDLED; } public gabensauce(id) {    client_print(id,print_chat, "teh gaben pwnzorz dewd.")    return PLUGIN_HANDLED; }

Any ideas? It's pissing me off. It's so simple, but it doesn't want to function. It's embarassing :oops:

capndurk 03-31-2006 21:53

You are not worthy of gaben commands.






















(change first register_concmd to register_clcmd("say /gaben","gabensauce"))

capndurk 03-31-2006 21:55

Oh yeah, and register_plugin..... :P


//edit// and close your plugin_init() function with a }........ :P :P

NewUser 03-31-2006 21:56

It was a quick sample fewl.


All times are GMT -4. The time now is 16:42.

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