Raised This Month: $ Target: $400
 0% 

How to make sure a variable is not unset


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
maqi
Senior Member
Join Date: Apr 2017
Location: Serbia
Old 06-18-2018 , 16:59   Re: How to make sure a variable is not unset
Reply With Quote #1

To check if a cvar is truly unset you should probably get_pcvar_string and check what i told you before.
__________________
stuff
maqi is offline
Cd5ssmffan
BANNED
Join Date: Feb 2017
Location: GB
Old 06-18-2018 , 17:30   Re: How to make sure a variable is not unset
Reply With Quote #2

Quote:
Originally Posted by maqi View Post
To check if a cvar is truly unset you should probably get_pcvar_string and check what i told you before.
I can't put "" into a string, it tells me that the array index is out of bounds.
Cd5ssmffan is offline
Send a message via ICQ to Cd5ssmffan Send a message via AIM to Cd5ssmffan Send a message via Yahoo to Cd5ssmffan Send a message via Skype™ to Cd5ssmffan
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 12:25.


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