15.11.2013, 09:07
Yes I do have, and I tried but the problem is that the registration system shows OnPlayerConnect. And the dialog ALWAYS show OnPlayerSpawn
Edit: there is no problem in registration system under onplayerconnect
Код:
new bool: gRegistered[MAX_PLAYERS] = {false, ...};
public OnPlayerConnect(playerid)
{
gRegistered[playerid] = true;
public OnPlayerDisconnect(playerid, reason)
{
gRegistered[playerid] = false;
public OnPlayerSpawn(playerid)
{
if(gRegistered[playerid])
{
//string
//bla bla bla
ShowPlayerDialog(playerid, DIALOG_WELCOME, DIALOG_STYLE_MSGBOX, "Greetings!", str, "Confirm", "");
}

