Hooking OnPlayerEditDynamicObject, exceeds 31 letters.
#1

So, I can't hook OnPlayerEditDynamicObject since it will exceed 31 letters, getting these errors:
PHP Code:
../BSRP/packages/signs/index.pwn(251) : warning 200symbol "@yH_OnPlayerEditDynamicObject@0" is truncated to 31 characters
../BSRP/packages/signs/index.pwn(251) : warning 200symbol "@yH_OnPlayerEditDynamicObject@0" is truncated to 31 characters 
using y_Hooks, any idea how to hook OnPlayerEditDynamicObject?
Reply
#2

Nevermind, It's fixed using this:
PHP Code:
forward OPEDO(playeridobjectidresponsexyzrxryrz);
public 
OPEDO(playeridobjectidresponsexyzrxryrz)
{
    
CallRemoteFunction("OnPlayerEditDynamicObject""iisffffff"playeridobjectidresponsexyzrxryrz);

then
PHP Code:
hook OPEDO(playeridobjectidresponseFloat:xFloat:yFloat:zFloat:rxFloat:ryFloat:rz
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)