SA-MP Forums Archive
[Help] Streamer Plugin v2.6 - 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] Streamer Plugin v2.6 (/showthread.php?tid=348184)



[Help] Streamer Plugin v2.6 - iRage - 04.06.2012

I've tried using the OnPlayerEditDynamicObject callback but it's not getting called, is it me or this happens with everyone else?


Edit: Here's what I've tried to debug the callback, yet nothing works.

pawn Код:
public OnPlayerEditDynamicObject(playerid, objectid, response, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz)
{
    SendClientMessage(playerid, COLOR_WHITE, "YAY");
}
I'm also using EditDynamicObject, for those who'd ask to make sure that I'm using it.


Re: [Help] Streamer Plugin v2.6 - iRage - 04.06.2012

Quote:
Originally Posted by n00b_scripter
Посмотреть сообщение
but if you have include + plugin workeing well then it would have been called like
pawn Код:
On GameModeInt()
{
OnPlayerEditDynamicObject(playerid, objectid, response, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz);
return 1;
}
never used it D: thinking to try it
That's not even 1 percent closer to making it work...


Re: [Help] Streamer Plugin v2.6 - yos136 - 04.06.2012

mabe that because you have the orginal public "OnPlayerEditObject" and it return 1.


Re: [Help] Streamer Plugin v2.6 - FalconX - 05.06.2012

Quote:
Originally Posted by n00b_scripter
Посмотреть сообщение
but if you have include + plugin workeing well then it would have been called like
pawn Код:
On GameModeInt()
{
OnPlayerEditDynamicObject(playerid, objectid, response, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz);
return 1;
}
never used it D: thinking to try it
My dear this will give a error saying "playerid is not defined" either you have to use a loop or just move to the command or somewhere else where the callback contains the playerid parameter.

-FalconX