18.06.2014, 09:56
In case PlayerInfo[extraid][pRegister] is 0, it will return a value and the rest of the code (which spawns the players) won't be executed.
In fact, you don't even need that if statement because if the player gets the dialog to login, that means that he's already registered.
pawn Код:
if(PlayerInfo[extraid][pRegister] == 0)
{
SetPlayerPos(extraid,1716.1129,-1880.0715,-10.0);
SetPlayerCameraPos(extraid,1755.0413,-1824.8710,20.2100);
SetPlayerCameraLookAt(extraid,1716.1129,-1880.0715,22.0264);
ShowPlayerDialog(extraid, TUT, DIALOG_STYLE_LIST, "Gender Your char ?", "Male\nFemale", "Choose", "Exit");
return 1;
}