Raised This Month: $ Target: $400
 0% 

My second script. Need some help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
XunTric
BANNED
Join Date: Jan 2005
Location: Norway/Norge
Old 02-04-2005 , 11:43   My second script. Need some help
Reply With Quote #1

Hey i was making my second script. Im really noob at this just as you know. I got a name changer plugin, llama plugin and chicken plugin. And i tryed to make a command called amx_mess which makes you llama, chicken and changes your name too "DONT MESS WITH THE ADMINS". And another command that removes the stuff... I know i forgot some lines to indentify the user so amxx knows who to "mess" up. So i need some help.
Here it is:
Code:
#include <amxmodx> #include <amxmisc> public plugin_init() { register_plugin("amx_mess", "1.0", "XunTric") register_concmd("amx_mess", "cmdmess", ADMIN_KICK, "<name or #userid>") register_concmd("amx_unmess", "cmdunmess", ADMIN_KICK, "<name or #userid>") } public cmdmess(id,level,cid) {     if (!cmd_access(id,level,cid,2))          return PLUGIN_HANDLED     server_cmd("amx_chicken %s")     server_cmd("amx_llama %s")     server_cmd("amx_name %s DONT MESS WITH THE ADMINS")          return PLUGIN_HANDLED } public cmdunmess(id,level,cid) {     if (!cmd_acces(id,level,cid,2))          return PLUGIN_HANDLED     server_cmd("amx_unchicken %s")     server_cmd("amx_unllama %s")     server_cmd("amx_name %s I CAN CHANGE MY NAME BACK NOW")          return PLUGIN_HANDLED     }
XunTric is offline
 



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 19:21.


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