Raised This Month: $ Target: $400
 0% 

SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 08-31-2013 , 12:36   Re: SMLIB 0.9 BETA (266 Function Stocks)
Reply With Quote #6

Quote:
Originally Posted by Ellie View Post
Been using this is some plugins (though I had to edit all their sources) and seems to be working great. Many thanks. Quick question though about this:



What do I need to change so that the unavailable color is replaced with orange instead of green?
You can use smlib_colors.games.txt.
Just put the it into your gamedata folder and put something like the following into the #default section:

Code:
"red_alternative"	"1" // 1 = orange in the color table (See: https://github.com/bcserv/smlib/blob/master/scripting/include/smlib/colors.inc#L78)
This should work.


Quote:
Originally Posted by Ellie View Post
Also, about these two:

Code:
PrintToChatAll( "%s", message );
PrintToChat(param1, "blah");
I can't get them to work. I get an argument type mismatch. How can I fix that?
Don't know, at first, those functions are not from smlib.
And you have to post more code so I can see how the used variables are defined.
But looks like either message is not a string or param1 not an integer cell.
__________________
Why reinvent the wheel ? Download smlib with over 350 useful functions.

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
berni is offline
 


Thread Tools
Display Modes

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 21:59.


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