23.03.2015, 22:45
I know this is not really a very necessary native, but take a look:
https://sampwiki.blast.hk/wiki/CancelEdit
Could you add CancelDynamicEdit(playerid)?
I just want to cancel the object edit mode of a player without it bugging. Though I found a not-so-effective way of doing it by using CallLocalFunction to call the OnPlayerEditDynamicObject callback manually with EDIT_RESPONSE_CANCEL specified on the "response" parameter. But this way I still need to press ESC to fully cancel the object edit mode, that's why I'm asking if you could add the native above.
https://sampwiki.blast.hk/wiki/CancelEdit
Could you add CancelDynamicEdit(playerid)?
I just want to cancel the object edit mode of a player without it bugging. Though I found a not-so-effective way of doing it by using CallLocalFunction to call the OnPlayerEditDynamicObject callback manually with EDIT_RESPONSE_CANCEL specified on the "response" parameter. But this way I still need to press ESC to fully cancel the object edit mode, that's why I'm asking if you could add the native above.