Raised This Month: $ Target: $400
 0% 

simple, n00b question.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
|2ob
Senior Member
Join Date: Mar 2004
Location: Ontario, Canada
Old 05-14-2004 , 02:53   simple, n00b question.
Reply With Quote #1

im a uber n00b with small coding, but i am trying to make a CZ bot commands plugin, how would i set a user defined # in a server_cmd

Code:
public bots() {     if (get_cvar_num("amx_bots_type")==1){         server_cmd("bot_quota)     } }

if someone types amx_bots 8
i want it to return bot_quota 8

do i use %s

like so

Code:
server_cmd("bot_quota %s")
__________________
24/7 Custom Maps Vitrus | Style by www.WebGZ.net
64.247.24.125:27015

Visit Vitrus's Clan Site!

I would put more, but they have a limit on chars
|2ob is offline
Send a message via AIM to |2ob Send a message via MSN to |2ob
 


Thread Tools
Display Modes

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


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