OnPlayeEditDynamicObject doesn't get called
#1

Hey there. So I have this test script where I tried if EditDynamicObject works, and OnPlayeEditDynamicObject doesn't get called in my filterscript.
pawn Код:
new obj;

//////////
public OnFilterScriptInit()
{
    obj = CreateDynamicObject(980, 1935.296142, 1384.733886, 9.257806, 0.0, 0.0, 89.937545);
    return 1;
}
//////////

public OnPlayerSpawn(playerid)
{
    EditDynamicObject(playerid, obj);
    return 1;
}

public OnPlayerEditDynamicObject(playerid, objectid, response, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz)
{
    SendClientMessage(playerid, -1, "OnPlayerEditDynamicObject gets called");
}
Does anyone know how to fix this? Thanks!
Reply


Messages In This Thread
OnPlayeEditDynamicObject doesn't get called - by dominik523 - 04.01.2015, 09:02
Re: OnPlayeEditDynamicObject doesn't get called - by Virtual1ty - 04.01.2015, 10:21
Re: OnPlayeEditDynamicObject doesn't get called - by dominik523 - 04.01.2015, 10:38

Forum Jump:


Users browsing this thread: 1 Guest(s)