15.01.2016, 23:19
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:
Working:
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);
}
Код:
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);
}
