PHP код:
forward LoadConnect(playerid);
public LoadConnect(playerid)
{
format(mysql_query,sizeof(mysql_query),"SELECT `Name` FROM `Accounts` WHERE `Name` = '%s'",PlayerInfo[playerid][pNames]);
mysql_function_query(connects, mysql_query,true,"PlayerRegCheck","d",playerid);
RemoveBuildingForPlayer(playerid, 8229, 1142.0313, 1362.5000, 12.4844, 0.25);
URL[playerid] = TextDrawCreate(509.000000, 3.000000, "RP");// íàçâàíèå, è êîîðäèíàòû
TextDrawFont(URL[playerid], 1);// ñòèëü òåêñòà
TextDrawColor(URL[playerid], COLOR_ULTI);//öâåò òåêñòà - ãîëóáîé
TextDrawLetterSize(URL[playerid], 0.3600, 1.500000);// ðàçìåðû
TextDrawSetOutline(URL[playerid], 2);
TextDrawShowForPlayer(playerid, URL[playerid]);
FPS[playerid] = TextDrawCreate(8.000000, 428.000000, "FPS: 30");
TextDrawBackgroundColor(FPS[playerid], 255);
TextDrawFont(FPS[playerid], 3);
TextDrawLetterSize(FPS[playerid], 0.280000, 1.500000);
TextDrawColor(FPS[playerid], COLOR_ULTI);
TextDrawSetOutline(FPS[playerid], 2);
TextDrawSetProportional(FPS[playerid], 1);
//==============================================
Text[playerid] = TextDrawCreate(400.0, 10.0, "Text");
TextDrawBackgroundColor(Text[playerid], COLOR_BLACK);
TextDrawColor(Text[playerid], 0x0BB814FF);
TextDrawFont(Text[playerid], 3);
//==============================================
Bar1 = CreateProgressBar(playerid,468.00,420.00,100.00,4.00,0xFFA600AA,100.0);
HideProgressBar(playerid,Bar1);
Bar2 = CreateProgressBar(playerid,548.00,28.00,60.00,3.20,0x0265B6AA,100.0);
HideProgressBar(playerid,Bar2);
PlayerTimerID[playerid] = SetTimerEx("PlayerUpdate", 250, 1, "d", playerid);
return 1;
}