Raised This Month: $ Target: $400
 0% 

Jailbreak Box can kill each other CT


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Natsheh
Veteran Member
Join Date: Sep 2012
Old 10-16-2014 , 15:47   Re: Jailbreak Box can kill each other CT
Reply With Quote #1

Quote:
Originally Posted by HamletEagle View Post
DON'T use set_cvar_num, use set_pcvar_num.

the cvar is already exist why use set_pcvar_num???
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 10-16-2014 , 16:03   Re: Jailbreak Box can kill each other CT
Reply With Quote #2

Quote:
Originally Posted by Natsheh View Post
the cvar is already exist why use set_pcvar_num???
You should always be using pCVars. Each call to *et_cvar_* results in a complete search of the CVar list until it finds the CVar it needs. Using *et_pcvar_*, you only search through the list once (if using get_cvar_pointer) or you know exactly where the CVar is (when using register_cvar)
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 10-16-2014 , 16:13   Re: Jailbreak Box can kill each other CT
Reply With Quote #3

Quote:
Originally Posted by YamiKaitou View Post
You should always be using pCVars. Each call to *et_cvar_* results in a complete search of the CVar list until it finds the CVar it needs. Using *et_pcvar_*, you only search through the list once (if using get_cvar_pointer) or you know exactly where the CVar is (when using register_cvar)
Thanks for the information!

Last edited by Natsheh; 10-16-2014 at 16:14.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
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 17:35.


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