Problem with OnPlayerSelectObject
#1

After choosing an object it doesn't let me edit it and doesn't show the printf in console. Why?

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;
} 
Streamer 2.6.1
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)