SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: None1337
Forum: Scripting Help 18/02/2020, 02:38 PM
Replies: 9
Views: 207
Posted By None1337
Re: Cancel selection

I've tried. Not called.
Forum: Scripting Help 16/02/2020, 05:32 PM
Replies: 9
Views: 207
Posted By None1337
Re: Cancel selection

Yes, i did. And the callback is not called when the player is pressing ESC, only if the player select an object, then the callback is called.
Forum: Scripting Help 16/02/2020, 04:58 PM
Replies: 9
Views: 207
Posted By None1337
Re: Cancel selection

I changed to return 0; nothing happend.
Forum: Scripting Help 16/02/2020, 04:35 PM
Replies: 9
Views: 207
Posted By None1337
Re: Cancel selection

yes



I tried and when he press ESC (when he cancel the selection) the callback OnPlayerSelectObject is not called. So the Pvar is still active.
Forum: Scripting Help 16/02/2020, 01:33 PM
Replies: 9
Views: 207
Posted By None1337
Cancel selection

I am using this command:

CMD:selectobjs(playerid)
{

SetPVarInt(playerid, "in_selecting", 1);
SelectObject(playerid);

return 1;
}
Showing results 1 to 5 of 5

 

All times are GMT. The time now is 11:49 PM.


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