dialog for new member
#3

Quote:
Originally Posted by StuartD
Посмотреть сообщение
Do you have any sort of registration system?
Yes I do have, and I tried but the problem is that the registration system shows OnPlayerConnect. And the dialog ALWAYS show OnPlayerSpawn

Код:
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", "");
	}
Edit: there is no problem in registration system under onplayerconnect
Reply


Messages In This Thread
dialog for new member - by gotwarzone - 15.11.2013, 08:53
Re: dialog for new member - by StuartD - 15.11.2013, 08:59
Re: dialog for new member - by gotwarzone - 15.11.2013, 09:07

Forum Jump:


Users browsing this thread: 1 Guest(s)