SA-MP Forums Archive
Dialog Show Problem - 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: Dialog Show Problem (/showthread.php?tid=568484)



Dialog Show Problem - sampkinq - 22.03.2015

hello dialogue does not appear

What is the problem

Код:
forward KontrolEdiver(playerid);
public KontrolEdiver(playerid) {
new Float:x, Float:y, Float:z;
GetPlayerCameraFrontVector(playerid, x, y, z);
#pragma unused x
#pragma unused y
if(z < -0.8){
KillTimer(_ESC[playerid]);
TogglePlayerControllable(playerid, 1);
KontrolEdildi[playerid] = 2;
ShowPlayerDialog(playerid, 3131, DIALOG_STYLE_MSGBOX, "Tarama", "{00ff00}Hileyi Silip Tekrar Giriş Yapınız", "Kapat", ""); // Does Not Appear
Kick(playerid);
}



Re: Dialog Show Problem - Konstantinos - 22.03.2015

https://sampwiki.blast.hk/wiki/Kick

Read the important note in the link above. You have to delay the kick with a timer so the player will be able to see the message/dialog etc. There's an example shown at the bottom of it.


Re: Dialog Show Problem - sampkinq - 22.03.2015

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/Kick

Read the important note in the link above. You have to delay the kick with a timer so the player will be able to see the message/dialog etc. There's an example shown at the bottom of it.
Thank You !