Dialog Show Problem
#1

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);
}
Reply
#2

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.
Reply
#3

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 !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)