View Single Post
xerox8521
Senior Member
Join Date: Sep 2011
Old 01-04-2020 , 13:37   Re: [HELP] Particle precache with invalid handle
Reply With Quote #4

You never setup the sdkcall (https://sm.alliedmods.net/new-api/sd...artPrepSDKCall)
Setting the info: https://sm.alliedmods.net/new-api/sd...ll_SetFromConf
For params: https://sm.alliedmods.net/new-api/sd...l_AddParameter
Return Info: https://sm.alliedmods.net/new-api/sd..._SetReturnInfo
Finalize the SDKCall with https://sm.alliedmods.net/new-api/sd...EndPrepSDKCall

Also make sure to check the value of EndPrepSDKCall if its a valid handle or not which indicates something went wrong during the setup process.

Last edited by xerox8521; 01-04-2020 at 13:38. Reason: Added Info about the return value of EndPrepSDKCall
xerox8521 is offline