View Single Post
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-19-2010 , 14:34   Re: Cvar by Strings (Or Flags)
Reply With Quote #12

Quote:
Originally Posted by #8 SickneSS View Post
Ok,I will try it Thanks!

btw

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,----)?
1. is_str_num()

2.
Code:
new const CsInternalModel:iCTModels[ ] = {     CS_CT_URBAN,     CS_CT_SAS,     CS_CT_GIGN,     CS_CT_GSG9 }; cs_set_user_team( id, CS_TEAM_CT, iCTModels[ random( sizeof( iCTModels ) ) ] );
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline