SA-MP Forums Archive
Does CancelEdit(playerid) cancels all editors ? - 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: Does CancelEdit(playerid) cancels all editors ? (/showthread.php?tid=580901)



Does CancelEdit(playerid) cancels all editors ? - vinigas - 09.07.2015

Hi,
does CancelEdit(playerid) cancels all types of object editors: attached_object, player_object and global_object ?


Re: Does CancelEdit(playerid) cancels all editors ? - Michael B - 09.07.2015

Actually, there's a single object editor used for these, so yeah, it does.
The function cancels the edition mode for a player.

You can see more documentation regarding this function here.