Raised This Month: $ Target: $400
 0% 

Cvar by Strings (Or Flags)


Post New Thread Reply   
 
Thread Tools Display Modes
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 05-19-2010 , 14:28   Re: Cvar by Strings (Or Flags)
Reply With Quote #11

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,----)?
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
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
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 05-19-2010 , 14:50   Re: Cvar by Strings (Or Flags)
Reply With Quote #13

Thanks Exolent
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
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 18:48.


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