Raised This Month: $ Target: $400
 0% 

Cvar by Strings (Or Flags)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 05-19-2010 , 05:52   Cvar by Strings (Or Flags)
Reply With Quote #1

I Want to make a cvar ussing...

Example.

PHP Code:
new szString[4]
new 
Cvar

//Init
  
Cvar register_cvar("mycvar","abc")

//Function

get_pcvar_string(Cvar,szString,3)

if 
cvar 'a' = do this
if cvar 'a+b' = do this and that
if cvar 'b' = do that
if cvar 'abc' = do this,that and those 
...So...How???


if you don't understand what i mean,please tell me.

Other thing
How i can detect if a string is a number,if is not,block them?

And...

How i can set a random model when i use cs_set_user_team(id,CS_TEAM_CT,----)?

Last edited by #8 SickneSS; 05-19-2010 at 07:21.
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
 


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 03:51.


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