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

[INC] TS Stocks


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 04-03-2010 , 23:23   [INC] TS Stocks
Reply With Quote #1

This is just a small header to replace some code that would normally be done in TSX or TSFun for the HL mod "The Specialists". Since offsets have been changed, a lot of functions that used to work don't anymore. I also posted my "The One" mod, which is incomplete but is useful for reference so you can see how to use some of the functions.
Attached Files
File Type: inc ts_stocks.inc (4.2 KB, 379 views)
File Type: sma Get Plugin or Get Source (the_one.sma - 932 views - 11.1 KB)
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 04-04-2010 , 19:56   Re: [INC] TS Stocks
Reply With Quote #2

Nice. Just a question, what's the purpose of this ?

PHP Code:
stock get_pdata_int_exidoffset )
{
    return 
get_pdata_intidoffset )
}

stock set_pdata_int_exidoffsetamt )
{
    return 
set_pdata_intidoffsetamt )

__________________
"There is no knowledge, that is not power"
fezh is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 04-04-2010 , 21:31   Re: [INC] TS Stocks
Reply With Quote #3

It originally added an offset to it automatically based on whether the server was on Linux or not. That was since removed so the stocks are basically useless.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Reply


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 06:19.


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