SelectObject - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SelectObject (
/showthread.php?tid=598294)
SelectObject -
TakeiT - 10.01.2016
I have this command:
Код:
CMD:sel(playerid, params[])
{
SelectObject(playerid);
InfoMessage(playerid, "Please select the object which you wish to edit/delete!");
return 1;
}
If I highlight over the object, it shows the streamed id, however it doesn't let me click on the object. If I replace the OnPlayerSelectDynamicObject with OnPlayerSelectDynamicObject, it selects it as a player object.
This is fine, to edit objects etc. however the actual ID of the dynamic object is different from the streamed id, therefore I cannot delete/save the objects. I am using incognito's streamer to stream the objects in.