01.11.2012, 19:37
Hello there. I have made my re/log system and I want to make moving cammera when player whants to reg/log. This is my code:
But I have this problem IG:
http://i.imgur.com/WnxBT.jpg#.UJLTzG_A82s
How to fix it?
Код:
if(fexist(UserPath(playerid))) { InterpolateCameraPos(playerid, 2462.3000488281, -1659.0999755859, 15.60000038147, 2353.5, -1659.0999755859, 15.60000038147, 100000, CAMERA_MOVE); INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid); ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit"); } else { InterpolateCameraPos(playerid, 2462.3000488281, -1659.0999755859, 15.60000038147, 2353.5, -1659.0999755859, 15.60000038147, 100000, CAMERA_MOVE); ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registering...",""COL_WHITE"Type your password below to register a new account.","Register","Quit"); }
http://i.imgur.com/WnxBT.jpg#.UJLTzG_A82s
How to fix it?