ShowPlayerDialog's title and Kick
#1

Hi

SA-MP won't show the Dialog without Title while using Kick()... is this a valid bug?
(even with delay/timer on Kick)

Not working:
Код:
forward KickEx(const PLAYERID);
public KickEx(const PLAYERID)
{
   Kick(PLAYERID);
   return 1;
}

public OnPlayerConnect(playerid)
{
   ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "", "Test message", "Close", "");
   SetTimerEx("KickEx", 1000, false, "i", playerid);
}
Working:
Код:
forward KickEx(const PLAYERID);
public KickEx(const PLAYERID)
{
   Kick(PLAYERID);
   return 1;
}

public OnPlayerConnect(playerid)
{
   ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "Test title", "Test message", "Close", "");
   SetTimerEx("KickEx", 1000, false, "i", playerid);
}
Reply


Messages In This Thread
ShowPlayerDialog's title and Kick - by Yousha - 15.01.2016, 23:19
Respuesta: ShowPlayerDialog's title and Kick - by IzadorO - 15.01.2016, 23:28
Re: ShowPlayerDialog's title and Kick - by Yousha - 16.01.2016, 08:05
Re: ShowPlayerDialog's title and Kick - by PT - 16.01.2016, 20:02

Forum Jump:


Users browsing this thread: 2 Guest(s)