Admin system combine! Not alot, just need abit of help
#1

Hey guys, I'm making an Admin system.

Heres my OnPlayerConnect

Код:
public OnPlayerConnect(playerid)
{
    if(fexist(UserPath(playerid)))
    {
        INI_ParseFile(UserPath(playerid), "LoadUser_data", .bExtra = true, .extra = playerid);
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit");
    }
    else
    {
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD,""COL_WHITE"Registering...",""COL_WHITE"Type your password below to register a new account.","Register","Quit");
    }
    return 1;
}
And I would like to combine this into it,

Код:
    TextDrawShowForPlayer(playerid,Startup0);
    TextDrawShowForPlayer(playerid,Startup1);
    TextDrawShowForPlayer(playerid,Startup2);
    TextDrawShowForPlayer(playerid,Startup3);
    TextDrawShowForPlayer(playerid,Startup4);
    TextDrawShowForPlayer(playerid,Startup5);
    TextDrawShowForPlayer(playerid, randommsg);
    PlayAudioStreamForPlayer(playerid, "http://mixconnect.com/disk2/mp3/1e1a51b28bdc93803dcbf.mp3")
Can you please help me! Thanks
Reply


Messages In This Thread
Admin system combine! Not alot, just need abit of help - by Goldino - 21.01.2013, 18:27
Re: Admin system combine! Not alot, just need abit of help - by Hoss - 21.01.2013, 18:28
Re: Admin system combine! Not alot, just need abit of help - by Goldino - 21.01.2013, 18:30

Forum Jump:


Users browsing this thread: 1 Guest(s)