Page 1 of 1
[INC] TS Stocks
Posted: Fri Sep 11, 2026 5:06 pm
by Archive-Poster
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.
Re: [INC] TS Stocks
Posted: Fri Sep 11, 2026 5:07 pm
by Archive-Poster
Nice. Just a question, what's the purpose of this ?
Code: Select all
stock get_pdata_int_ex( id, offset )
{
return get_pdata_int( id, offset )
}
stock set_pdata_int_ex( id, offset, amt )
{
return set_pdata_int( id, offset, amt )
}
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.