[Help] SDK Call
SDK Calls seems really useful, unfortunately, I have no clue how to do it.
I know I need to use StartPrepSDKCall to prepare it. ,PrepSDKCall_ABCD to set stuff for it And EndPrepSDKCall to end it and start the call. It also seems like there are some other files which help define stuff for SDKCall. But that's it, I have no clue how to use it beyond that, I would like to know what I can use the fiction for and how. Thanks in advance |
Re: [Help] SDK Call
At first I would recommend you to go to sdktools api, it has some SDKCall params.
AFAIK you need to define sdkcall params depends on signature... As an example plugin you can take a look here and there. |
Re: [Help] SDK Call
|
Re: [Help] SDK Call
Of course... first you have to *know* what the SDK call is, its return type, and what its arguments are... and find its offset/signature.
|
Re: [Help] SDK Call
Guess I wasn't very clear with my post, here are some questions I have.
What are the call types I can use with StartPrepSDKCall? I know what they names of the types are but have no idea the difference between them function wise. What can I do with SDKCall? I'm guessing PrepSDKCall_SetFromConf defined what function I'm calling by looking into a game file, where are these game files located? What's the difference between offsets and signatures? Is there any place where all the functions are clearly defined for what they do? In the sample code I see: PHP Code:
|
Re: [Help] SDK Call
Quote:
EG(note, offset listed is not true): vtable CTFPlayer: 0 0 bool CanBreatheUnderwater() |
Re: [Help] SDK Call
Quote:
|
Re: [Help] SDK Call
...did you even look my link and read it ???
edit https://forums.alliedmods.net/showthread.php?t=191171 |
Re: [Help] SDK Call
Quote:
|
Re: [Help] SDK Call
Offsets are listed here: https://www.sourcemodplugins.org/vtableoffsets/tf
Still, what do they do? Is there anywhere their functions are listed? And my earlier question is still unanswered, In the sample code I see: PHP Code:
|
All times are GMT -4. The time now is 05:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.