Auto spawn on public OnPlayerSpawn(playerid)
#3

How do i add it correctly with this?


public OnPlayerConnect(playerid)
{
if(fexist(UserPath(playerid)))
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_PASSWORD, "Login", "Please Login By Writing Your Password Below", "Login", "Leave");
}
else
{
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_PASSWORD, "Create An Account", "Please Create An Account On Our Server Before You Continue", "Register", "Leave");
}
return 1;
}

Thanks for your fast answer
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)