Quote:
Originally Posted by dorperez
Didn't worked bro ..
pawn Код:
public OnPlayerRequestClass(playerid, classid) { if(RegistrationStep[playerid] == 0) { if(PlayerInfo[playerid][pReg] == 1) { ShowPlayerDialog(playerid, 1245, DIALOG_STYLE_INPUT,""ALB"Welcome.Please log-in.",""ALB"Type your password here to log-in","Log-in","Quit"); } if(PlayerInfo[playerid][pReg] == 0) {
ShowPlayerDialog(playerid, 1246, DIALOG_STYLE_INPUT,""ALB"Please register!",""ALB"Type your password here to register.","Register","Quit"); } SetPlayerPos(playerid, 1529.6,-1691.2,13.3); SetPlayerCameraPos(playerid, 1890.1014,-1194.7969,25.8091); SetPlayerCameraLookAt(playerid, 1933.4393,-1196.2479,18.8163); } else SpawnPlayer(playerid); return 1; }
|
* FACEPALM * - Because you have it set to register first. Also, all that needs to be put under OnPlayerConnect, not OnPlayerRequestClass.
If you would like me to do this for you, add my Skype: mercenary.lf