Raised This Month: $51 Target: $400
 12% 

How do I use define in a servercommand?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Michalplyoutube
Veteran Member
Join Date: Jan 2013
Location: Tank Carrier in Mannhatt
Old 01-17-2015 , 16:34   How do I use define in a servercommand?
Reply With Quote #1

Title says

#define PLUGINNAME "tf2bwr"

ServerCommand("sm plugins load PLUGINNAME");

Can someone please correct it because idk how i can use define in servercommand
__________________
The plugin developer of TF2BWR Reborn
And a TF2 Player
Michalplyoutube is offline
KissLick
Veteran Member
Join Date: Nov 2012
Location: void
Old 01-17-2015 , 16:44   Re: How do I use define in a servercommand?
Reply With Quote #2

PHP Code:
#define PLUGINNAME    "tf2bwr"

ServerCommand("sm plugins load %s"PLUGINNAME); 
KissLick is offline
Michalplyoutube
Veteran Member
Join Date: Jan 2013
Location: Tank Carrier in Mannhatt
Old 01-17-2015 , 16:54   Re: How do I use define in a servercommand?
Reply With Quote #3

Quote:
Originally Posted by KissLick View Post
PHP Code:
#define PLUGINNAME    "tf2bwr"

ServerCommand("sm plugins load %s"PLUGINNAME); 
Lets see
__________________
The plugin developer of TF2BWR Reborn
And a TF2 Player

Last edited by Michalplyoutube; 01-17-2015 at 16:58.
Michalplyoutube is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 01-18-2015 , 02:28   Re: How do I use define in a servercommand?
Reply With Quote #4

https://wiki.alliedmods.net/Format_C...Mod_Scripting)
__________________

Last edited by ddhoward; 01-18-2015 at 02:29.
ddhoward is offline
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 07:56.


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