Question

Доброго времени суток, уважаемые знатоки Pawno.

Проблема такова, после выдачи бана игроку через команду /ban после перезахода на сервер он оказывается не в бане, в чём может быть проблема?

В Павно я новичок, хотелось бы получить консультацию/помощь, заранее благодарен!

 

Вот та самая команда /ban

Спойлер

CMD:ban(playerid,params[])
{
	if(pData[playerid][pAdmin] < 5) return 1;
	if(sscanf(params, "dds[40]", params[0], params[1], params[2])) return SendClientMessage(playerid,CGRAY,"/ban [ID èãðîêà] [Êîë-âî äíåé] [Ïðè÷èíà]");
	if(!IsPlayerConnected(params[0]) || IsKicked(params[0]) || params[0] == playerid)  return SendClientMessage(playerid,CGRAY,"Íåâåðíûé ID");
	if(!pData[params[0]][pMysqlID]) return SendClientMessage(playerid,CGRAY,"Èãðîê íå àâòîðèçîâàëñÿ");
	if(params[1] < 1 || params[1] > 30) return SendClientMessage(playerid,CGRAY,"Íåâåðíîå êîëè÷åñòâî äíåé");
	if(strlen(params[2]) && (strfind(params[2],"`") != -1 ||
	strfind(params[2],"'") != -1 ||
	strfind(params[2],"-") != -1 ||
	strfind(params[2],"=") != -1)) return SendErr(playerid,"Âû èñïîëüçîâàëè çàïðåù¸ííûå ñèìâîëû â ïðè÷èíå");
	if(!GetPVarInt(playerid, "playerPiar"))
	{
		Reklamaban(playerid, params[2]);
		if(GetPVarInt(playerid, "playerPiar")) { DeletePVar(playerid, "playerPiar"); return false; }
	}
	if(strlen(params[2]) < 1 || strlen(params[2]) > 40) return SendErr(playerid,"Ïðè÷èíà äîëæíà áûòü îò 1 äî 40 ñèìâîëîâ");
	new mes[138];
	new id = params[0];
	new time = params[1];
	if(pData[playerid][pAdmin] < pData[params[0]][pAdmin])
	{
		format(mes,sizeof(mes),"Àäìèíèñòðàòîð %s ïîïûòàëñÿ çàáàíèòü Àäìèíèñòðàòîðà %s",pData[playerid][pNickname],pData[id][pNickname]);
		AdminChat(CGRAY,mes);
		return 1;
	}
	SendLogs("Àäìèí %s çàáàíèë èãðîêà %s íà %d äíåé. Ïðè÷èíà: %s",pData[playerid][pNickname],pData[id][pNickname],time,params[2]);
	format(mes,sizeof(mes),"Àäìèíèñòðàòîð %s çàáàíèë èãðîêà %s íà %d äíåé. Ïðè÷èíà: %s",pData[playerid][pNickname],pData[id][pNickname],time,params[2]);
	SendClientMessageToAll(COLOR_LIGHTRED,mes);
	new all[400];
	new h,m,s;
	gettime(h,m,s);
	new year,month,day;
	getdate(year, month, day);
	format(all,sizeof(all),"{"#cW"}Âíèìàíèå,\nÂàø àêêàóíò çàáëîêèðîâàí çà íàðóøåíèå ïðàâèë ñåðâåðà,\nîáÿçàòåëüíî ñäåëàéòå ñêðèíøîò äàííîãî îêíà èëè Âàøà æàëîáà íå áóäåò ïðèíÿòà.\nÄàòà âûäà÷è íàêàçàíèÿ: {"#cGREEN"}%02d-%02d-%d %d:%02d\n{"#cW"}Ñðîê íàêàçàíèÿ: {"#cYELLOW"}%d äíåé\n{"#cW"}Ïðè÷èíà: {"#cYELLOW"}%s\n{"#cW"}Àäìèíèñòðàòîð, âûäàâøèé íàêàçàíèå: {"#cRED"}%s",day,month,year,h,m,time,params[2],pData[playerid][pNickname]);
	ShowPlayerDialog(id,dMes,0,pData[id][pNickname],all,"Çàêðûòü","");
	ServerBan(playerid,id,time,params[2]);
	NewKick(id);
	return true;
}

 

 

Заметка от Cawfee , создано

3.2. Код больше 10 строк брать еще и под спойлер. Как это сделать рассказано в разделе "FAQ"

Устное предупреждение.

Share this post


Link to post

7 answers to this question

  • 0

Я в павно не знаток, но смею думать, что данные о бане не отправляются в базу данных, либо не загружаются из базы данных, такое тоже может быть

Share this post


Link to post
  • 0

В базу данных загружаются, но вот при перезаходе бана нет. Могу скинуть логи из консоли, ибо там есть какая-то ошибка связанная с базой данных, если нужно.

Share this post


Link to post
  • 0

@Vlad Side Покажите stock ServerBan.

Share this post


Link to post
  • 0
Спойлер


stock ServerBan(playerid,actplayerid,time,reason[])
{
    pTemp[actplayerid][pStatuscon] = 2;
	new query[350];
	format(query,sizeof(query),"UPDATE `aplayerakk` SET `status` = '2' WHERE `id` = '%d'",pData[actplayerid][pMysqlID]);
	sql_query(snow, query);
	if(playerid < 0) format(query,sizeof(query),"INSERT INTO `ban` VALUES ('','-1','%d','%d','%s')",pData[actplayerid][pMysqlID],time,reason);
	else format(query,sizeof(query),"INSERT INTO `ban` VALUES ('','%d','%d','%d','%s')",pData[playerid][pMysqlID],pData[actplayerid][pMysqlID],time,reason);
	sql_query(snow, query);
	NewKick(actplayerid);
	return 1;

 

 

Share this post


Link to post
  • 0
12 часов назад, Vlad Side сказал:

В базу данных загружаются, но вот при перезаходе бана нет

 

На всякий случай еще раз уточню. Если Вы заходите в базу данных, то в таблице со списком забаненных аккаунтов Вы видите свой nick-name? Если это так, покажите код авторизации игрока (скорее всего в OnPlayerConnect или в какой-то функции, вызываемой из OnPlayerConnect).

Share this post


Link to post
  • 0

Когда я захожу в таблицу с базой данных, то я вижу вот это.

*screen*

 

 

Спойлер

public OnPlayerJoin(playerid)
{
	for(new i; i<6; i++) TextDrawShowForPlayer(playerid,logo_TD[i]);
	
	SpawnPlayer(playerid);
	TogglePlayerControllable(playerid,0);
	
    SetPlayerInterior(playerid,5);
	SetPlayerVirtualWorld(playerid, 5);
	SetPlayerPos(playerid,633.7927,-1765.8979,19.4339);
	SetPlayerFacingAngle(playerid,176.0717);
	
	InterpolateCameraPos(playerid, 628.761047, -1764.393554, 19.677539, 628.761047, -1764.393554, 19.677539, 1000);
	InterpolateCameraLookAt(playerid, 629.909790, -1769.228637, 19.127872, 629.909790, -1769.228637, 19.127872, 1000);
	
    new ip[16],query[256],numaccount[50];
	GetPlayerIp(playerid,ip,sizeof(ip));
	format(query, sizeof(query), "SELECT `ip`,`giveid`,`time` FROM `banip` WHERE `ip` = '%s'", ip);
	new Result:re = sql_query(snow, query, QUERY_CACHED);
	if(sql_num_rows(re))
	{
 		sql_get_field(re, 1, numaccount);
   		new timeban = sql_get_field_int(re, 2);
    	if(timeban == 1)
		   {
    		format(query, sizeof(query), "DELETE FROM `banip` WHERE `ip` = '%s'",ip);
		    sql_query(snow, query);
		    new mes[256];
		    format(mes,sizeof(mes),"unbanip %s",ip);
  			SendRconCommand(mes);
	    	SendRconCommand("reloadbans");
			}
	
	}
	GetPlayerName(playerid,pData[playerid][pNickname],MAX_PLAYER_NAME);
	sql_escape_string(snow, pData[playerid][pNickname],pData[playerid][pNickname], 24);
	format(query,sizeof(query),"SELECT * FROM `aplayerakk` WHERE `nickname` = '%s'",pData[playerid][pNickname]);
	sql_query(snow, query, QUERY_THREADED | QUERY_CACHED, "OnPlayerLoaded", "ri", playerid);
	return true;

}

                    
public OnPlayerConnect(playerid)
{
    GetPlayerName(playerid, PlayerName[playerid], 24);
    #include <Mode/MilfordShaxtaTextDraws>
    #include <Mode/UabloFermTextDraws>
	#include <Mode/TD_inv>
	#include <Mode/TD_player>
 	#include <Mode/TD_selectinv>
	for (new i = 0; i < 13; i++)
	{
		pTemp[playerid][pSavegun][i] = 0;
		pTemp[playerid][pSaveammo][i] = 0;
	}
	for (new i = 0; i < 86; i++)
	{
	    pTemp[playerid][pGpsbizz][i] = 0;
	}
	temp_table[playerid] = -1;
	pTemp[playerid][pWarnBolezni] = 0;
	pTemp[playerid][pBankTransfer] = 0;
	pTemp[playerid][pAFK] = 0;
	pTemp[playerid][pInvOpen] = 0;
	pTemp[playerid][pConnectTime] = 0;
	pTemp[playerid][pTruckID] = INVALID_VEHICLE_ID;
	pTemp[playerid][pTaxiID] = INVALID_VEHICLE_ID;
 	pTemp[playerid][pTaxiPass] = INVALID_PLAYER_ID;
	pTemp[playerid][pOnExam] = false;
	pTemp[playerid][pWarningGreen] = 0;
	pTemp[playerid][pSellHouseOffee] = -1;
	pTemp[playerid][pSellBusinessOffee] = -1;
	pTemp[playerid][pSettleHouseOffee] = -1;
	pTemp[playerid][pSellCarOffee] = -1;
	pTemp[playerid][pSellFillingOffee] = -1;
	pTemp[playerid][pCuffee] = -1;
	pTemp[playerid][pCuffer] = -1;
	pTemp[playerid][pStatuscon] = 0;
	pTemp[playerid][pTempleader] = 0;
	pTemp[playerid][pNowpay] = 0;
	WaitAirCheat[playerid] = 0;
	pTemp[playerid][pMeshok] = 0;
	pTemp[playerid][pVerevka] = 0;
	pTemp[playerid][pKlyap] = 0;
	pTemp[playerid][pSelectTD] = 0;
	SetPVarInt(playerid, "Position", gettime() + 600);
	pTemp[playerid][pEnterinter] = 0;
	pTemp[playerid][pRedaktor] = 0;
    pTemp[playerid][pGodmode] = false;
    pTemp[playerid][pOnCasino] = false;
    pTemp[playerid][pEnterCasino] = false;
    pTemp[playerid][pEnterConteiner] = false;
    pTemp[playerid][pWorkSalary] = 0;
    pTemp[playerid][pGnews] = 0;
    PreloadAllAnims(playerid);
    pTemp[playerid][pShowphoto] = false;
 	gCalls[playerid][g_caller] = INVALID_PLAYER_ID;
	gCalls[playerid][g_callee] = INVALID_PLAYER_ID;
	pTemp[playerid][pPopitok] = 0;
	pTemp[playerid][pOnBJ] = 0;
	pTemp[playerid][pAcsmask] = 1;
	pTemp[playerid][pAcshead] = 1;
	pTemp[playerid][pAcsglass] = 1;
	pTemp[playerid][pAcsband] = 1;
 	pTemp[playerid][pShowMedpl] = -1;
	pTemp[playerid][pShowMedct] = -1;
	pTemp[playerid][pShowPasspl] = -1;
	pTemp[playerid][pShowPassact] = -1;
	pTemp[playerid][pGiveHipl] = -1;
	pTemp[playerid][pGiveHiact] = -1;
	pTemp[playerid][pShowUdpl] = -1;
	pTemp[playerid][pShowUdact] = -1;
	pTemp[playerid][pSellsimpl] = -1;
	pTemp[playerid][pSellsimact] = -1;
	pTemp[playerid][pFreepl] = -1;
	pTemp[playerid][pFreeact] = -1;
	pTemp[playerid][pSelllic2act] = -1;
	pTemp[playerid][pSelllic2pl] = -1;
	pTemp[playerid][pSelllic1act] = -1;
	pTemp[playerid][pSelllic1pl] = -1;
	pTemp[playerid][pSellbilet2act] = -1;
	pTemp[playerid][pSellbilet2pl] = -1;
	pTemp[playerid][pSellbilet1act] = -1;
	pTemp[playerid][pSellbilet1pl] = -1;
	pTemp[playerid][pFaminviteact] = -1;
	pTemp[playerid][pBKinv] = -1;
	pTemp[playerid][pFaminvitepl] = -1;
	pTemp[playerid][pSellsim] = 0;
	pTemp[playerid][pShowPtsact] = -1;
	pTemp[playerid][pShowPtspl] = -1;
	pTemp[playerid][pShowSkillact] = -1;
	pTemp[playerid][pShowSkillpl] = -1;
	pTemp[playerid][pShowLicpl] = -1;
	pTemp[playerid][pShowLicact] = -1;
	pTemp[playerid][pSettext] = 0;
    Vor[playerid] = 0;
    pTemp[playerid][pSpectating] = false;
    pTemp[playerid][pSpectatingloaded] = false;
    if(IsPlayerNPC(playerid)) return true;
    pTemp[playerid][pLogin4] = true;
   	pTemp[playerid][pSpecOn] = 0;
	pTemp[playerid][pSpectator] = INVALID_PLAYER_ID;
	pTemp[playerid][pSpectatee] = INVALID_PLAYER_ID;
    poxavat[playerid] = 0;
    #include <Mode/OBJ_destroy>
    //ñàëþò
 	SetPVarInt(playerid, "PType", 0);
	SetPVarInt(playerid, "PColor", 0);
	num[playerid] = 0;
	ResetPlayerWeaponsEx(playerid);
	ResetPlayerWeaponsEx(playerid);
	new Float: gEateryPos[2], str[16];
	gEateryPos[0] = 450.0; gEateryPos[1] = 125.0;
	for(new x = 0; x < 4; x ++) { // öåíû
		if(x > 0) gEateryPos[1] += 50.0;
		format(str, sizeof(str), "$%i", gEateryCosts[x]);
		gEateryCostTextDraw[playerid][x] = CreatePlayerTextDraw(playerid, gEateryPos[0], gEateryPos[1], str);
		PlayerTextDrawLetterSize(playerid, gEateryCostTextDraw[playerid][x], 0.560000, 2.142500);
		PlayerTextDrawAlignment(playerid, gEateryCostTextDraw[playerid][x], 1);
		PlayerTextDrawColor(playerid, gEateryCostTextDraw[playerid][x], -1);
		PlayerTextDrawSetShadow(playerid, gEateryCostTextDraw[playerid][x], 0);
		PlayerTextDrawSetOutline(playerid, gEateryCostTextDraw[playerid][x], 1);
		PlayerTextDrawBackgroundColor(playerid, gEateryCostTextDraw[playerid][x], 51);
		PlayerTextDrawFont(playerid, gEateryCostTextDraw[playerid][x], 3);
		PlayerTextDrawSetProportional(playerid, gEateryCostTextDraw[playerid][x], 1);
	}
	new Float: gBarPos[2];
	gBarPos[0] = 450.0; gBarPos[1] = 125.0;
	for(new x = 0; x < 5; x ++) { // öåíû
		if(x > 0) gBarPos[1] += 50.0;
		format(str, sizeof(str), "$%i", gBarCosts[x]);
		gBarCostTextDraw[playerid][x] = CreatePlayerTextDraw(playerid, gBarPos[0], gBarPos[1], str);
		PlayerTextDrawLetterSize(playerid, gBarCostTextDraw[playerid][x], 0.560000, 2.142500);
		PlayerTextDrawAlignment(playerid, gBarCostTextDraw[playerid][x], 1);
		PlayerTextDrawColor(playerid, gBarCostTextDraw[playerid][x], -1);
		PlayerTextDrawSetShadow(playerid, gBarCostTextDraw[playerid][x], 0);
		PlayerTextDrawSetOutline(playerid, gBarCostTextDraw[playerid][x], 1);
		PlayerTextDrawBackgroundColor(playerid, gBarCostTextDraw[playerid][x], 51);
		PlayerTextDrawFont(playerid, gBarCostTextDraw[playerid][x], 3);
		PlayerTextDrawSetProportional(playerid, gBarCostTextDraw[playerid][x], 1);
	}
	//#include <Mode/TD_casino>
	for(new v = 1; v <= TOTALGZ; v++) GangZoneShowForPlayer(playerid,GZMZ[v][idm],GetGangZoneColor(v));
	return true;
}
                    

 

Спойлер

public OnPlayerLoaded(Result:r, playerid) {
	new rows = sql_num_rows(r);
	if(rows) {
		new id = sql_get_field_assoc_int(r, "id");
		new status = sql_get_field_assoc_int(r, "status");
		new query[256],numaccount[50], reasona[120];
		if(status == 2)
		{
	        format(query, 128, "SELECT `time`,`giveid`,`reason` FROM `ban` WHERE `takeid` = '%d'",id);
	        new Result:ban = sql_query(snow, query, QUERY_CACHED);
	        sql_get_field(ban, 1, numaccount);
	        sql_get_field(ban, 2, reasona);
	        new idakk = sql_get_field_int(ban, 1);
	        if(sql_num_rows(ban))
	        {
	            new result[64];
	            sql_fetch_row(ban,"|",result);
				new time, reason[256];
	            sscanf(result,"p<|>is[128]",time,reason);
				if(time <= -1) {
				    format(query, 128, "DELETE FROM `ban` WHERE `takeid` = '%d'",id);
				    sql_query(snow, query);
				}
				else {
					new nickname[50];
					format(query, sizeof(query), "SELECT `nickname` FROM `aplayerakk` WHERE `id` = '%s'", numaccount);
					new Result:r1 = sql_query(snow, query, QUERY_CACHED);
					sql_get_field(r1, 0, nickname);
					if(idakk == -1) { format(query,sizeof(query),"Âû çàáàíåíû ïî ïðè÷èíå: '%s' àäìèíèñòðàòîðîì Íåèçâåñòåí. Îñòàëîñü äíåé: %d",reasona, time); }
					else { format(query,sizeof(query),"Âû çàáàíåíû ïî ïðè÷èíå: '%s' àäìèíèñòðàòîðîì %s. Îñòàëîñü äíåé: %d",reasona, nickname, time); }
					SendClientMessage(playerid,CBADINFO,query);
					sql_free_result(r1);
					NewKick(playerid);
					return 1;
				}
	        }
		}
        sql_get_field_assoc(r, "password",pData[playerid][pPassword]);
        sql_get_field_assoc(r, "rphone",pData[playerid][pRphone]);
        pData[playerid][pRcode] = sql_get_field_assoc_int(r, "rcode");
        new ipcode[24]; sql_get_field_assoc(r, "ipcode", ipcode);
        new rcode2 = sql_get_field_assoc_int(r, "requestipcode");
        if(rcode2) SetPVarString(playerid,"ipcode",ipcode);
		else SetPVarString(playerid, "ipcode", "kotmotitest");
        new code[24]; sql_get_field_assoc(r, "code", code);
        new rcode = sql_get_field_assoc_int(r, "requestcode");
        if(rcode) SetPVarString(playerid,"code",code);
		else SetPVarString(playerid, "code", "kotmotitest");
		SPFD(playerid,dLogin,1,"Âõîä","ÎÊ","Âûõîä","{"#cW"}Äîáðî ïîæàëîâàòü íà ñåðâåð{4682b3} "Hostname"{"#cW"}.\nÂàø ëîãèí: {4682b3}%s{"#cW"}\n\nÄàííûé àêêàóíò {96ffa8}çàðåãèñòðèðîâàí{ffffff}.\n×òîáû âîéòè ââåäèòå ïàðîëü:\n\n{8ea6e8}Ó âàñ åñòü 30 ñåêóíä íà ââîä ïàðîëÿ.",pData[playerid][pNickname]);
	}
	else {
        new string1[4000];
		strcat(string1,"{FFFFFF}Ïðàâèëà èãðû íà ñåðâåðå.\n");
		strcat(string1,"{ffff54}1.{FFFFFF} Íèê äîëæåí áûòü â âèäå Èìÿ_Ôàìèëèÿ.\n");
		strcat(string1,"{ffff54}2.{FFFFFF} Revenge Kill (Ñîêðàùåíî RK) çàïðåù¸í | Âàðí/Àäìèí Òþðüìà íà 60 ìèíóò\n");
		strcat(string1,"{ffff54}3.{FFFFFF} Måtagàming (Ñîêðàùåíèå MG) çàïðåù¸í | Áàí ÷àòà 15-60 ìèíóò\n");
		strcat(string1,"{ffff54}4.{FFFFFF} Powergaming (Ñîêðàùåíèå PG) çàïðåù¸í | Êèê/Âàðí/Àäìèí Òþðüìà íà 30-60 ìèíóò.\n");
		strcat(string1,"{ffff54}5.{FFFFFF} Deatmatch (ñîêðàùåíèå DM)çàïðåù¸í. | Êèê/âàðí/àäìèí òþðüìà íà 60 ìèíóò. Ïîñëåäóþùèå íàðóøåíèÿ Áàí\n");
		strcat(string1,"{ffff54}6.{FFFFFF} DriveBy (ñîêðàùåíèå DB) çàïðåù¸í | Àäìèí òþðüìà 30-60 ìèíóò,Âàðí (DB ðàçðåø¸í òîëüêî ïàññàæèðàì)\n");
		strcat(string1,"{ffff54}7.{FFFFFF} Spawn Kill (Ñîêðàùåíèå SK) çàïðåù¸í |Àäìèí òþðüìà 60 ìèíóò,Âàðí/Áàí\n");
		strcat(string1,"{ffff54}8.{FFFFFF} Team Kill (Ñîêðàùåíèå TK) çàïðåù¸í | Âàðí/Áàí\n");
		strcat(string1,"{ffff54}9.{FFFFFF} Repeat Kill (Ñîêðàùåíèå RK) çàïðåù¸í | Àäìèí òþðüìà 60-120 ìèíóò,Âàðí\n");
		strcat(string1,"{ffff54}10.{FFFFFF} FastReload èëè Scroll (Ñîêðàùåíèå FR), à òàê æå Fastmoving (Ñîêðàùåíèå FM) çàïðåù¸í | Âàðí (Ò.ê. ýòî áàãîþç)\n");
		strcat(string1,"{ffff54}11.{FFFFFF} Èñïîëüçîâàíèå ×èòîâ/Õàêîâ/Cleo çàïðåùåíî. | áàí íà ñåðâåðå îò 10-30 äíåé äî ïîæèçíåííîãî.\n");
		strcat(string1,"{ffff54}12.{FFFFFF} Íîí ðï çàïðåù¸í! | Àäìèí Òþðüìà íà 60 ìèíóò\n");
		strcat(string1,"{ffff54}13.{FFFFFF} Èñïîëüçîâàòü àïòå÷êè,íàðêîòèêè âî âðåìÿ äðàêè èëè ïåðåñòðåëêè çàïðåùåíî. | Âàðí\n");
		strcat(string1,"{ffff54}14.{FFFFFF} Ôëóä â IC è OOC, /s ÷àòû | Áàí ÷àòà 10-50 ìèíóò\n");
		strcat(string1,"{ffff54}15.{FFFFFF} Ôëóä â Ðåïîðò, à òàê æå âîïðîñû òèïà: Ìîæåòå äàòü ëèöåíçèþ, äåíüãè, äîì, àäìèíêó | Áàí ÷àòà 40-100 ìèíóò,Êèê,Âàðí\n");
		strcat(string1,"{ffff54}16.{FFFFFF} Âûõîä èç èãðû âî âðåìÿ RP-ïðîöåññà | Àäìèí òþðüìà 60-180 ìèíóò,Âàðí\n");
		strcat(string1,"{ffff54}17.{FFFFFF} Îñêîðáëåíèå/òðîëëèíã/êëåâåòà | Áàí ÷àòà,Êèê,Âàðí,Áàí àêêàóíòà\n");
		strcat(string1,"{ffff54}18.{FFFFFF} Îñêîðáëåíèå ðîäèòåëåé | Áàí 15-30 äíåé\n");
		strcat(string1,"{ffff54}19.{FFFFFF} Ðåêëàìà ïîñòîðîííèõ ðåñóðñîâ (ñåðâåðîâ, ñàéòîâ, ÷èòîâ) | Ïîæèçíåííûé áàí\n\n");
		strcat(string1,"Ïðàâèëà äëÿ àêêàóíòîâ:\n");
		strcat(string1,"{3366FF}1.{FFFFFF} Âàø àêêàóíò - ýòî âàøà ñîáñòâåííîñòü è âàøà îòâåñòâåííîñòü. Çà óòðàòó àêêàóíòà (âçëîì,óãîí)\n");
		strcat(string1,"{3366FF}2.{FFFFFF} Àäìèíèñòðàöèÿ îòâåñòâåííîñòè íå íåñ¸ò è àêêàóíòû èãðîêîâ íå âîññòàíàâëèâàåò!\n");
		strcat(string1,"{3366FF}3.{FFFFFF} Ïðîäàæà èãðîâûõ äåíåã,áèçíåñîâ,äîìîâ è ò.ä. çà ðåàëüíûå äåíüãè êàðàåòñÿ óäàëåíèåì àêêàóíòà!\n");
		ShowPlayerDialog(playerid,dRegMenu,0,""Hostname" | {9effcf}Ïðàâèëà ñåðâåðà",string1,"Äàëåå","Âûõîä");
	}
	sql_free_result(r);
	return true;
}

 

 

Заметка от Cawfee , создано

3.2. Как правильно выкладывать код на форум смотрите в разделе "FAQ"

Устное предупреждение.

Share this post


Link to post
  • 0

UP помогите!

Share this post


Link to post
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • SheikhMAN
      By SheikhMAN
      Приветствую дорогие коллеги. Намучался, хочу решить одну проблему, делаю проверку на правильность введенной почты,
      и не могу правильно настроить это дело в диалоге. Кто поможет, буду очень рад. Внизу прикрепил скрипт.

      Внутри спойлера код.