Raised This Month: $ Target: $400
 0% 

A cmd to see if a varible exists?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TotalNoobScripter
Senior Member
Join Date: Aug 2004
Old 01-10-2005 , 21:27   A cmd to see if a varible exists?
Reply With Quote #1

I'm making an include file that will be able to be used by a wide range of rp-mods, such as Avalanches RP Mod and Twilight Suzuka's TSXMOD, but I want to be able to use varibles needed if they exist... for example:

if ( thiscmdidontknow(usermoney) ) {
usermoney[id] = whatever i want to do.
}

this way I can make an addon for multiple rp mod's while only making the server host only add #include <incname>. They would just need this .inc in their scripting/includes folder.
TotalNoobScripter is offline
Send a message via AIM to TotalNoobScripter
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 01-10-2005 , 21:43  
Reply With Quote #2

I'd just make a seperate include file for each plugin. Also, why do you still have my plugin?
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
TotalNoobScripter
Senior Member
Join Date: Aug 2004
Old 01-10-2005 , 22:33  
Reply With Quote #3

.... once again everyone who has a rp server has your plugin. Go play some ts-rp servers, youll see.
TotalNoobScripter is offline
Send a message via AIM to TotalNoobScripter
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 01-10-2005 , 22:39  
Reply With Quote #4

unless their running mine, which would be probably stupid. My saving system doesnt even work yet.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
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 19:25.


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