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
Cd5ssmffan
BANNED
Join Date: Feb 2017
Location: GB
Old 06-18-2018 , 16:44   Re: How to make sure a variable is not unset
Reply With Quote #1

Quote:
Originally Posted by maqi View Post
Code:
if( equal( g_blah, "" ) )
Thanks a lot. Just had an "argument mismatch" error and realised I was doing get_pcvar_num on this beforehand. I can't find anything related to variables in get_pcvar.. Do I need to use get_pcvar_string?
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