SA-MP Forums Archive
[Help] How to make when you see dialog and you CAN'T type commands or anything? - 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: [Help] How to make when you see dialog and you CAN'T type commands or anything? (/showthread.php?tid=507908)



[Help] How to make when you see dialog and you CAN'T type commands or anything? - ghostomgg - 19.04.2014

Hi, i am new to this forum and i come from Macedonia so if u don't understand what i am talking just translate it
I want to ask how to make when you see dialog you can't type commands or anything when you tap F6 / ~ / T ?
Thanks.


Re: [Help] How to make when you see dialog and you CAN'T type commands or anything? - Konstantinos - 19.04.2014

You can't open the chat when a dialog is displayed.


Re: [Help] How to make when you see dialog and you CAN'T type commands or anything? - ghostomgg - 19.04.2014

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
You can't open the chat when a dialog is displayed.
Yes you can, try ingame.
Display some dialogs and press F6.


Re: [Help] How to make when you see dialog and you CAN'T type commands or anything? - Bingo - 19.04.2014

Quote:
Originally Posted by ghostomgg
Посмотреть сообщение
Yes you can, try ingame.
Display some dialogs and press F6.
You wont be able to type.


Re: [Help] How to make when you see dialog and you CAN'T type commands or anything? - ghostomgg - 19.04.2014

http://imgur.com/a/HwLgM
See ..
I want when Admin Panel pops out you cant type anything.
Like in login..
GRESKA: Ne ste logirani - Means MISTAKE:You aren't logged in!
I can skip admin panel when F6 -> /stats, that overplaces the dialog! and then i spawn automatically.


Re: [Help] How to make when you see dialog and you CAN'T type commands or anything? - Khanz - 19.04.2014

Make your stats print on the screen rather than a dialog box.


Re: [Help] How to make when you see dialog and you CAN'T type commands or anything? - ghostomgg - 19.04.2014

Quote:
Originally Posted by Khanz
Посмотреть сообщение
Make your stats print on the screen rather than a dialog box.
There isn't problem with the stats, you didn't understand me
I want when Admin Panel pop-ups I NEED TO TYPE THE PASSWORD AND NOT TO SKIP IT WITH TYPING /stats OR /LICENSES that is the problem :@


Re: [Help] How to make when you see dialog and you CAN'T type commands or anything? - ghostomgg - 19.04.2014

If you still don't understand me see this:
I want when dialog pop-ups you can't type commands like: F6 --> Hi brotha / /call 5556 / /stats
Like:
/stats and i want to skip that dialog i press F6 then i type /licenses and im free? :\


Re: [Help] How to make when you see dialog and you CAN'T type commands or anything? - davve95 - 19.04.2014

When a dialog is up it shouldn't be aviable to wirte anything in the chat.

Just make another dialog that pops up before that you can use for the password.

Also post the code for the script so people's can help you easier.


Re: [Help] How to make when you see dialog and you CAN'T type commands or anything? - ghostomgg - 19.04.2014

Example: http://pastebin.com/V2x6veep
This is if player Logged in.
I want this to make for Admin Panel.
Example: How to make if(gPlayerLogged[playerid] == 0) gPlayerOnDialog? Is that possible?..