SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: jasperschellekens
Forum: Scripting Help 16/02/2020, 06:24 PM
Replies: 9
Views: 207
Posted By jasperschellekens
Re: Cancel selection

I know you can detect the esc button in ONplayerEditObject with the response
if(response == EDIT_RESPONSE_CANCEL)
Allthough Im starting to think it's impossible with selecting an object. Not sure...
Forum: Scripting Help 16/02/2020, 05:15 PM
Replies: 9
Views: 207
Posted By jasperschellekens
Re: Cancel selection

Have you debugged it like I said to confirm the callback is not called? It is highly unlikely that it isn't being called.
Just because the pvar doesn't change doesn't mean that the callback even is...
Forum: Scripting Help 16/02/2020, 03:51 PM
Replies: 9
Views: 207
Posted By jasperschellekens
Re: Cancel selection

Have you tried debugging? I think the callback is called but there is something wrong with your if statement.


public OnPlayerSelectObject(playerid, type, objectid, modelid, Float:fX, Float:fY,...
Showing results 1 to 3 of 3

 

All times are GMT. The time now is 12:19 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.