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(playeridtypeobjectidmodelidFloat:fXFloat:fYFloat:fZ)
{
    
printf("Player %d selected object %d"playeridobjectid);
    
EditObject(playeridobjectid);
    
SendClientMessage(playerid0xFFFFFFFF"You now are able to edit your object!");
    return 
1;

Streamer 2.6.1
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)