[Help] Streamer Plugin v2.6
#1

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.
Reply
#2

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...
Reply
#3

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)