public OnPlayerConnect (playerid)
{
PrihlasenyPouzivatel [playerid] = 0;
if (fexist (PouzivateloveUmiestnenie (playerid)))
{
INI_ParseFile (PouzivateloveUmiestnenie (playerid), "NacitavaniePouzivatelov", .bExtra = true, .extra = playerid);
ShowPlayerDialog (playerid, DIALOG_PRIHLASOVANIE, DIALOG_STYLE_PASSWORD,""FARBA_BIELA"Login",""FARBA_BIELA"Type your password below to login.","Login","Quit");
}
else
{
ShowPlayerDialog(playerid, DIALOG_REGISTRACIA, DIALOG_STYLE_PASSWORD,""FARBA_BIELA"Registering...",""FARBA_BIELA"Type your password below to register a new account.","Register","Quit");
}
return 1;
}
TogglePlayerSpectating (playerid, true);
SetPlayerPos (playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos (playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt (playerid, 1958.3783, 1343.1572, 15.3746);}
public OnPlayerConnect (playerid)
{
TogglePlayerSpectating (playerid, 1);
SetPlayerPos (playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos (playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt (playerid, 1958.3783, 1343.1572, 15.3746);
PrihlasenyPouzivatel [playerid] = 0;
if (fexist (PouzivateloveUmiestnenie (playerid)))
{
INI_ParseFile (PouzivateloveUmiestnenie (playerid), "NacitavaniePouzivatelov", .bExtra = true, .extra = playerid);
ShowPlayerDialog (playerid, DIALOG_PRIHLASOVANIE, DIALOG_STYLE_PASSWORD,""FARBA_BIELA"Login",""FARBA_BIELA"Type your password below to login.","Login","Quit");
}
else
{
ShowPlayerDialog(playerid, DIALOG_REGISTRACIA, DIALOG_STYLE_PASSWORD,""FARBA_BIELA"Registering...",""FARBA_BIELA"Type your password below to register a new account.","Register","Quit");
}
return 1;
}
TogglePlayerSpectating (playerid, true); SetPlayerPos (playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraPos (playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt (playerid, 1958.3783, 1343.1572, 15.3746);} |