20.06.2016, 11:57
-Using hook on OnPlayerEditDynamicObject wont work, since it's over 31 letters.
Here's your fix:
Then to call it.
Here's your fix:
PHP код:
forward OPEDO(playerid, objectid, response, x, y, z, rx, ry, rz);
public OPEDO(playerid, objectid, response, x, y, z, rx, ry, rz)
{
CallRemoteFunction("OnPlayerEditDynamicObject", "iisffffff", playerid, objectid, response, x, y, z, rx, ry, rz);
}
PHP код:
hook OPEDO(playerid, objectid, response, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz)