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,----)?