AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   A cmd to see if a varible exists? (https://forums.alliedmods.net/showthread.php?t=9243)

TotalNoobScripter 01-10-2005 21:27

A cmd to see if a varible exists?
 
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.

XxAvalanchexX 01-10-2005 21:43

I'd just make a seperate include file for each plugin. Also, why do you still have my plugin?

TotalNoobScripter 01-10-2005 22:33

.... once again everyone who has a rp server has your plugin. Go play some ts-rp servers, youll see.

Twilight Suzuka 01-10-2005 22:39

unless their running mine, which would be probably stupid. My saving system doesnt even work yet.


All times are GMT -4. The time now is 19:25.

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