Error server
#5

i think it's this one:
Quote:

public OnPlayerConnect(playerid) {
TotalConnect++;
if(Iter_Count(Player) > MaxPlayersConnected) {
MaxPlayersConnected = Iter_Count(Player);
getdate(MPYear,MPMonth,MPDay);
}

if(!InvalidNameCheck(playerid))
return true;

new
szIP[16];

GetPlayerIp(playerid, szIP, 16);
format(szQuery, sizeof(szQuery), "SELECT EXISTS(SELECT 1 FROM `ipbans` WHERE ip = INET_ATON('%s'))", szIP);
HRPQuery(szQuery, THREAD_IP_BAN_CHECK, playerid, g_MySQLConnections[0]);
ResetPlayerInfo(playerid);

FuelText[playerid] = TextDrawCreate(530.000000, 150.000000, "Loading...");
TextDrawBackgroundColor(FuelText[playerid], 255);
TextDrawFont(FuelText[playerid], 1);
TextDrawLetterSize(FuelText[playerid], 0.200000, 0.899999);
TextDrawColor(FuelText[playerid], -1);
TextDrawSetOutline(FuelText[playerid], 0);
TextDrawSetProportional(FuelText[playerid], 1);
TextDrawSetShadow(FuelText[playerid], 1);
TextDrawUseBox(FuelText[playerid], 1);
TextDrawBoxColor(FuelText[playerid], 170);
TextDrawTextSize(FuelText[playerid], 606.000000, 1.000000);

HungerText[playerid] = TextDrawCreate(530.000000, 172.000000, "Loading...");
TextDrawBackgroundColor(HungerText[playerid], 255);
TextDrawFont(HungerText[playerid], 1);
TextDrawLetterSize(HungerText[playerid], 0.200000, 0.899999);
TextDrawColor(HungerText[playerid], -1);
TextDrawSetOutline(HungerText[playerid], 0);
TextDrawSetProportional(HungerText[playerid], 1);
TextDrawSetShadow(HungerText[playerid], 1);
TextDrawUseBox(HungerText[playerid], 1);
TextDrawBoxColor(HungerText[playerid], 170);
TextDrawTextSize(HungerText[playerid], 606.000000, 1.000000);
return true;
}

I'm new scripter, so tell me if it's this.
Reply


Messages In This Thread
Error server - by BryanD - 20.05.2014, 15:34
Re: Error server - by Copfan5 - 20.05.2014, 15:37
Re: Error server - by Hwang - 20.05.2014, 16:14
Re: Error server - by DaniceMcHarley - 20.05.2014, 16:19
Re: Error server - by BryanD - 20.05.2014, 16:43

Forum Jump:


Users browsing this thread: 1 Guest(s)