This function was added in SA-MP 0.3e and will not work in earlier versions!
(playerid)
playerid
The ID of the player that should be able to select the object
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/select", true))
{
SelectObject(playerid);
SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Please select the object you'd like to edit!");
return 1;
}
return 0;
}