17.01.2013, 15:07
(
Последний раз редактировалось justinnater; 17.01.2013 в 17:16.
)
Hey, I'm having a issue with:
The callback is not being called when I am editing a object, or done editing it.
This is how my code looks like at the moment:
Incase someone is going to ask... Yes i'm using EditObject and not EditAttachedObject
Thanks in advance!
Код:
public OnPlayerEditObject(playerid, playerobject, objectid, response, Float:fX, Float:fY, Float:fZ, Float:fRotX,
This is how my code looks like at the moment:
PHP код:
public OnPlayerEditObject(playerid, playerobject, objectid, response, Float:fX, Float:fY, Float:fZ, Float:fRotX, Float:fRotY, Float:fRotZ)
{
printf("Debug 1");
if(response == EDIT_RESPONSE_FINAL)
{
printf("Debug 2");
}
return 1;
}
Thanks in advance!