Disable - 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: Disable (
/showthread.php?tid=333197)
Disable -
3RoR - 10.04.2012
How to disable,When a player is in the dialog can not use another dialog
Re: Disable -
ViniBorn - 10.04.2012
You can use a boolean variable ...
Re: Disable -
3RoR - 10.04.2012
can you give it ?
Re: Disable -
3RoR - 11.04.2012
Bump !
Re: Disable -
Sphex - 11.04.2012
In the top of the script:
PHP код:
new bool:InDialog[MAX_PLAYERS];
In OnPlayerConnect:
PHP код:
InDialog[playerid] = false;
When you show a dialog:
PHP код:
InDialog[playerid] = true;
After response/!response:
PHP код:
InDialog[playerid] = false;
Re: Disable -
3RoR - 11.04.2012
i didn't catch you over After Response and When you show a dialog: , Where to put ?
Re: Disable -
3RoR - 11.04.2012
Bump,Sorry for Double Post sorryy :S, y need it fast plzz help me !
Re: Disable -
3RoR - 13.04.2012
Bump please help(isn't for spam, y wan't helpp :S