AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Code Snippets/Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=83)
-   -   [INC] TS Stocks (https://forums.alliedmods.net/showthread.php?t=123266)

Hawk552 04-03-2010 23:23

[INC] TS Stocks
 
2 Attachment(s)
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.

fezh 04-04-2010 19:56

Re: [INC] TS Stocks
 
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 )



Hawk552 04-04-2010 21:31

Re: [INC] TS Stocks
 
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.


All times are GMT -4. The time now is 16:50.

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