SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 30/01/2013, 03:31 PM   #1
filipkozina
Little Clucker
 
Join Date: Jan 2013
Posts: 41
Reputation: 3
Default [Problem]GeForce UCP

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
filipkozina is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Off] Brecha em placas GeForce Joao Pedro PortuguÍs/Portuguese 16 26/12/2012 08:22 PM
NVidia Geforce GTS 250 Sanady Everything and Nothing 2 04/07/2012 07:20 PM
[SOLVED] 3 problem's! (1 problem still unsolved, but stopped solving.) Mechscape Help Archive 9 24/12/2009 08:47 PM


All times are GMT. The time now is 09:10 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.