Help with OnPlayerEditAttachedObject - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help with OnPlayerEditAttachedObject (
/showthread.php?tid=515500)
Help with OnPlayerEditAttachedObject -
Fred1993 - 26.05.2014
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
Re: Help with OnPlayerEditAttachedObject -
detter - 13.07.2014
*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
Re: Help with OnPlayerEditAttachedObject -
detter - 13.07.2014
*sorry for DP
i removed all my filterscripts and now it works fine.