Raised This Month: $ Target: $400
 0% 

cvars


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
daniel46
Senior Member
Join Date: Dec 2011
Old 11-06-2013 , 15:51   Re: cvars
Reply With Quote #3

ok so first thing can i do a cvar for admin flag?

like

register_cvar("admin_flag_req", "ADMIN_BAN") or somthing like that

second can i use cvar in a switch function?

i mean register_cvar("chance", "30")

switch( odds )
{
case get_pcvar_num of this car

can i do it?
daniel46 is offline
 



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


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