[Problem]GeForce UCP
#1

Game Mode : GeForce
Problem : I have problem when i connect to the game it say "This username is not approved by UCP" (on croatian i translate it)

Part of Script :
Code:
case EXIST_PLAYER_QUERY:
	    {
            mysql_store_result();
            new playername[MAX_PLAYER_NAME];
            if(mysql_num_rows() == 0) {
            	if(!IsPlayerConnected(extraid)) return mysql_free_result();
            	SendClientMessage(extraid, COLOR_RED, "This username is not approved by UCP. Visit www.ucp.Security-samp.com");
				Kick(extraid);
			}
			else
			{
			    mysql_retrieve_row();
			    new banned[1];
				mysql_get_field("banned", banned); PlayerInfo[extraid][pBanned] = bool:strval(banned);
                if(!IsPlayerConnected(extraid)) return mysql_free_result();

                GetPlayerName(extraid, playername, sizeof(playername));

                format(motd, sizeof(motd), DialogTexts[0],
				    playername,
					MAX_LOGIN_TIME*10);

				ShowPlayerDialog(extraid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "PRIJAVA", motd, "Login", "Cancel");
			}
            mysql_free_result();
		}
PLSSS HELP

Sry for bad english i am from Croatia =D
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)