03.11.2013, 15:02
Hello guys, i seriously don't know how to put next lines to this public, but I'm getting errors. yeah, I'm noob.
My current public:
And i need to put at begin of this public this
Thanks
My current public:
pawn Code:
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;
}
pawn Code:
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);}