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

Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: Powerlord
Forum: Scripting 01-01-2014, 14:51
Replies: 38
Sticky: Scripting Forum
Views: 142,033
Posted By Powerlord
Re: Scripting Forum

Yes (http://www.sourcemod.net/irc.php)
Forum: Scripting 10-16-2012, 09:10
Replies: 38
Sticky: Scripting Forum
Views: 142,033
Posted By Powerlord
Re: Scripting Forum

I assume the link is supposed to be to http://docs.sourcemod.net/api/
Forum: Scripting 07-19-2011, 14:29
Replies: 38
Sticky: Scripting Forum
Views: 142,033
Posted By Powerlord
Re: Scripting Forum

Here's a new version with a few string handling functions changed around to use the ones that deal with bytes rather than cells (which are 4 bytes each).

stock AddCommas( iNum, String:szOutput[] ,...
Forum: Scripting 07-19-2011, 14:22
Replies: 38
Sticky: Scripting Forum
Views: 142,033
Posted By Powerlord
Re: Scripting Forum

Likely the problems are being caused by SourceMod storing strings differently than AMX Mod X does. I'll have to check what needs to be changed to get this working like it should.
Forum: Scripting 07-19-2011, 13:09
Replies: 38
Sticky: Scripting Forum
Views: 142,033
Posted By Powerlord
Re: Scripting Forum

You need to actually call it. For instance, to format the points in the modes 1 and 2 block above:
new String:szPoints[15];
GetClientName(i, Name, sizeof(Name));
AddCommas((ClientPoints[i] +...
Forum: Scripting 07-19-2011, 10:55
Replies: 38
Sticky: Scripting Forum
Views: 142,033
Posted By Powerlord
Re: Scripting Forum

You really should post this as its own thread.

Having said that, here's a quick and completely untested port of the AddCommas function to SourceMod. SourceMod only has a float absolute value...
Showing results 1 to 6 of 6

 
Forum Jump

All times are GMT -4. The time now is 07:13.


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