Raised This Month: $ Target: $400
 0% 

Simple script


Post New Thread Reply   
 
Thread Tools Display Modes
MaximusBrood
Veteran Member
Join Date: Sep 2005
Location: The Netherlands
Old 01-13-2006 , 17:04  
Reply With Quote #11

[quote="nasta"]Just one another thing... When im creating another command to say, is it like this?

Code:
#include <amxmodx> #include <amxmisc> public plugin_init() {   register_plugin("zomg h4x", "0.1", "teh pwn");   register_clcmd("say /warmup", "cmd_warmup", ADMIN_KICK);   register_clcmd("say /pcw", "cmd_warmup", ADMIN_KICK); } public cmd_warmup(id, lvl, cid) { //I just gave it another name to be more clear   if(!cmd_access(id, lvl, cid, 2)) {     return PLUGIN_HANDLED;   set_cvar_num("mp_startmoney", 16000);   set_cvar_num("mp_friendlyfire", 0);   set_cvar_num("mp_gaben", 1);   // etc   client_print(0, print_chat, "[AMXX] Gotjuice? warmup started");   return PLUGIN_HANDLED; }

__________________
Released six formerly private plugins. Not active here since ages.
MaximusBrood is offline
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 00:25.


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