09.11.2013, 19:20
After choosing an object it doesn't let me edit it and doesn't show the printf in console. Why?
Streamer 2.6.1
PHP код:
public OnPlayerSelectObject(playerid, type, objectid, modelid, Float:fX, Float:fY, Float:fZ)
{
printf("Player %d selected object %d", playerid, objectid);
EditObject(playerid, objectid);
SendClientMessage(playerid, 0xFFFFFFFF, "You now are able to edit your object!");
return 1;
}