Help with OnPlayerEditAttachedObject
#1

Hello everyone ..
Well guys im having some problem with OnPlayerEditAttachedObject.
When ever i attach a object using EditAttachedObject. it doesn't call OnPlayerEditAttachedObject
Please help me.

Script:
http://pastebin.com/V6Mkbz9j
Reply
#2

*bump

i have exactly the same problem
it won't work even with simple script


Code:
CMD:test(playerid ,params[])
{
   SetPlayerAttachedObject(playerid ,0 ,19006 ,1);
   EditAttachedObject(playerid ,0); // I tried with timer between ,it didn't work
   return 1;
}
Code:
public OnPlayerEditAttachedObject(playerid, response, index, modelid, boneid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ)
{
    if(response) SCM(playerid ,-1 ,"Test 1");
    else SCM(playerid ,-1 ,"Test 2");

    return 1;
}
nothing shows up
Reply
#3

*sorry for DP

i removed all my filterscripts and now it works fine.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)