Доступ к готовым решениям

Переход в группу "Пользователь"

300.00 ₽
Одноразовый платёж
Быстрый переход в группу "Пользователи", без надобности написания постов и ожидания.

Покупка дает возможность:
Быть полноправным участником форума
Нормальное копирование кода
Создавать темы
Скачивать файлы
Доступ к архиву Pawno-Info

Мануал [Samp-Rp] Recon (2.0) Copy

Статус
В этой теме нельзя размещать новые ответы.

SlimX

Умник
Всем привет, начал писать копию рекона самп рп, потратил на это около 6 часов, рекон полностью рабочий, не учитывая 2,3,4,5 подбокса (позже доделаю, устал)

Рекон работает как на кнопках, так и на мышке.
Я даю вам идею, дорабатывайте сами. Для опытных.

Использование:

Функции использования советую делать в стеках, т.к их придется юзать 2 раза.

В num0 делаем проверку на кнопку (KeyRecon), если например, кнопка 9 ( if(GetPVarInt(playerid, "KeyRecon") == 9) ) и вставляем нужную функцию.
Так же и с TD, только в OnPlayerClickPlayerTextDraw

PHP:
if(playertextid == номер кнопки)
{
    // тело
}
Скрины:

У кого не грузит:



Список кнопок TD:
PHP:
SpyTestBox[2][playerid] // Кнопка 1
SpyTestBox[3][playerid] // Кнопка 2
SpyTestBox[4][playerid] // Кнопка 3
SpyTestBox[5][playerid] // Кнопка 4
SpyTestBox[6][playerid] // Кнопка 5
SpyTestBox[7][playerid] // Кнопка 6
SpyTestBox[8][playerid] // Кнопка 7
SpyTestBox[9][playerid] // Кнопка 8
SpyTestBox[10][playerid] // Кнопка 9

SpyPodText[0][playerid] // ПодКнопка 1
SpyPodText[1][playerid] // ПодКнопка 2
SpyPodText[2][playerid] // ПодКнопка 3
На TD так же:

К дефайнам:
PHP:
#define PRESSED(%0) 			(((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
#define RELEASED(%0) 			(((newkeys & (%0)) != (%0)) && ((oldkeys & (%0)) == (%0)
К new

PHP:
new PlayerText:SpyTestBox[11][MAX_PLAYERS];
new PlayerText:SpyTestText[10][MAX_PLAYERS];
new PlayerText:SpyPodText[3][MAX_PLAYERS];
new PlayerText:SpyPodBox[4][MAX_PLAYERS];
В OnPlayerConnect:

PHP:
LoadIntTD(playerid);
В OnPlayerClickTextDraw(playerid, Text:clickedid)
PHP:
    if(_:clickedid == INVALID_TEXT_DRAW)
    {
		if(GetPVarInt(playerid, "spectate") == 1)
		{
		    PlayerTextDrawColor(playerid, SpyTestBox[2][playerid], 0xab6007AA);
			PlayerTextDrawHide(playerid, SpyTestBox[2][playerid]);
    		PlayerTextDrawShow(playerid, SpyTestBox[2][playerid]);
		}
    }
Команды:
PHP:
CMD:recon(playerid)
{
	for(new i = 0; i < sizeof(SpyTestBox); i++)  PlayerTextDrawShow(playerid, SpyTestBox[i][playerid]);
	for(new i = 0; i < sizeof(SpyTestText); i++)  PlayerTextDrawShow(playerid, SpyTestText[i][playerid]);
    UpdateTDSpyTextBox(playerid, 2, 589439231);
    UpdateTDSpyTextBox(playerid, 3, 589439231);
    UpdateTDSpyTextBox(playerid, 4, 589439231);
    UpdateTDSpyTextBox(playerid, 5, 589439231);
    UpdateTDSpyTextBox(playerid, 6, 589439231);
    UpdateTDSpyTextBox(playerid, 7, 589439231);
    UpdateTDSpyTextBox(playerid, 8, 589439231);
    UpdateTDSpyTextBox(playerid, 9, 589439231);
	SetPVarInt(playerid,"spectate", 1);
	SelectTextDraw(playerid, 0xab6007AA);
	SetPVarInt(playerid, "KeyRecon", 1);
        // функцию пишите сами
	return true;
}

CMD:reconoff(playerid)
{
	PlayerTextDrawColor(playerid, SpyTestBox[2][playerid], 589439231);
	PlayerTextDrawColor(playerid, SpyTestBox[3][playerid], 589439231);
	for(new i = 0; i < sizeof(SpyTestBox); i++)  PlayerTextDrawHide(playerid, SpyTestBox[i][playerid]);
	for(new i = 0; i < sizeof(SpyTestText); i++)  PlayerTextDrawHide(playerid, SpyTestText[i][playerid]);
	for(new i = 0; i < sizeof(SpyPodBox); i++)  PlayerTextDrawHide(playerid, SpyTestBox[i][playerid]);
	for(new i = 0; i < sizeof(SpyPodText); i++)  PlayerTextDrawHide(playerid, SpyTestText[i][playerid]);
	SetPVarInt(playerid, "KeyRecon", -1);
	SetPVarInt(playerid,"spectate", 0);
	return true;
}
К OnPlayerKeyStateChange:

PHP:
   	if(PRESSED(4)) PressNum0(playerid); // Если num 0
    if(PRESSED(16384)) PressNum6(playerid); // Если num 6
	if(PRESSED(8192)) PressNum4(playerid);
	if(PRESSED(32)) PressKeyJump(playerid); // Если пробел
	if(PRESSED(8))
	{
	    if(GetPVarInt(playerid, "PodBox") == 1 || GetPVarInt(playerid, "PodBox") == 2 || GetPVarInt(playerid, "PodBox") == 3)
	    {
			PlayerTextDrawHide(playerid, SpyPodBox[0][playerid]);
			PlayerTextDrawHide(playerid, SpyPodBox[1][playerid]);
			PlayerTextDrawHide(playerid, SpyPodBox[2][playerid]);
			
			UpdateTDSpyTextBox1(playerid, 0, 128);
			UpdateTDSpyTextBox1(playerid, 1, 128);
			UpdateTDSpyTextBox1(playerid, 2, 128);
			
			PlayerTextDrawHide(playerid, SpyPodText[0][playerid]);
			PlayerTextDrawHide(playerid, SpyPodText[1][playerid]);
			PlayerTextDrawHide(playerid, SpyPodText[2][playerid]);
			SetPVarInt(playerid, "PodBox", -1);
			SetPVarInt(playerid, "KeyRecon", 1);
		    PlayerTextDrawColor(playerid, SpyTestBox[2][playerid], 0xab6007AA);
			PlayerTextDrawHide(playerid, SpyTestBox[2][playerid]);
    		PlayerTextDrawShow(playerid, SpyTestBox[2][playerid]);
	    }
	}
Stock:

PHP:
stock UpdateTDSpyTextBox1(playerid, i, color)
{
	PlayerTextDrawColor(playerid, SpyPodBox[i][playerid], color);
	PlayerTextDrawHide(playerid,  SpyPodBox[i][playerid]);
    PlayerTextDrawShow(playerid,  SpyPodBox[i][playerid]);
}

stock UpdateTDSpyTextBox(playerid, i, color)
{
	PlayerTextDrawColor(playerid, SpyTestBox[i][playerid], color);
	PlayerTextDrawHide(playerid,  SpyTestBox[i][playerid]);
    PlayerTextDrawShow(playerid,  SpyTestBox[i][playerid]);
}

stock PressNum0(playerid)
{
	if(GetPVarInt(playerid, "KeyRecon") == 1) ShowPlayerDialog(playerid, 9999, DIALOG_STYLE_MSGBOX, "Работает", " ", "Ок", "");
	if(GetPVarInt(playerid, "KeyRecon") == 2) SendClientMessage(playerid, -1, "CHECK >>");
	if(GetPVarInt(playerid, "KeyRecon") == 2)
	{
		PlayerTextDrawShow(playerid, SpyPodBox[0][playerid]);
		PlayerTextDrawShow(playerid, SpyPodBox[1][playerid]);
		PlayerTextDrawShow(playerid, SpyPodBox[2][playerid]);
		PlayerTextDrawShow(playerid, SpyPodText[0][playerid]);
		PlayerTextDrawShow(playerid, SpyPodText[1][playerid]);
		PlayerTextDrawShow(playerid, SpyPodText[2][playerid]);
		UpdateTDSpyTextBox(playerid, GetPVarInt(playerid, "KeyRecon")+1, 589439231);
		UpdateTDSpyTextBox1(playerid, 0, 0xab6007AA);
		SetPVarInt(playerid, "PodBox", 1);
		SetPVarInt(playerid, "KeyRecon", -1);
	}
}

stock PressNum6(playerid)
{
	if(GetPVarInt(playerid, "KeyRecon") > 9) SetPVarInt(playerid,"KeyRecon", GetPVarInt(playerid,"KeyRecon")-1);
	if(GetPVarInt(playerid, "KeyRecon") == 0) return true;
	switch(GetPVarInt(playerid, "KeyRecon"))
	{
	    case 1: UpdateTDSpyTextBox(playerid, 2, 589439231),  UpdateTDSpyTextBox(playerid, 3, 0xab6007AA), SetPVarInt(playerid,"KeyRecon", GetPVarInt(playerid,"KeyRecon")+1), PlayerPlaySound(playerid, 1083, 0.0, 0.0, 0.0);
	    case 2: UpdateTDSpyTextBox(playerid, 3, 589439231),  UpdateTDSpyTextBox(playerid, 4, 0xab6007AA), SetPVarInt(playerid,"KeyRecon", GetPVarInt(playerid,"KeyRecon")+1), PlayerPlaySound(playerid, 1083, 0.0, 0.0, 0.0);
	    case 3: UpdateTDSpyTextBox(playerid, 4, 589439231),  UpdateTDSpyTextBox(playerid, 5, 0xab6007AA), SetPVarInt(playerid,"KeyRecon", GetPVarInt(playerid,"KeyRecon")+1), PlayerPlaySound(playerid, 1083, 0.0, 0.0, 0.0);
	    case 4: UpdateTDSpyTextBox(playerid, 5, 589439231),  UpdateTDSpyTextBox(playerid, 6, 0xab6007AA), SetPVarInt(playerid,"KeyRecon", GetPVarInt(playerid,"KeyRecon")+1), PlayerPlaySound(playerid, 1083, 0.0, 0.0, 0.0);
	    case 5: UpdateTDSpyTextBox(playerid, 6, 589439231),  UpdateTDSpyTextBox(playerid, 7, 0xab6007AA), SetPVarInt(playerid,"KeyRecon", GetPVarInt(playerid,"KeyRecon")+1), PlayerPlaySound(playerid, 1083, 0.0, 0.0, 0.0);
	    case 6: UpdateTDSpyTextBox(playerid, 7, 589439231),  UpdateTDSpyTextBox(playerid, 8, 0xab6007AA), SetPVarInt(playerid,"KeyRecon", GetPVarInt(playerid,"KeyRecon")+1), PlayerPlaySound(playerid, 1083, 0.0, 0.0, 0.0);
	    case 7: UpdateTDSpyTextBox(playerid, 8, 589439231),  UpdateTDSpyTextBox(playerid, 9, 0xab6007AA), SetPVarInt(playerid,"KeyRecon", GetPVarInt(playerid,"KeyRecon")+1), PlayerPlaySound(playerid, 1083, 0.0, 0.0, 0.0);
	    case 8: UpdateTDSpyTextBox(playerid, 9, 589439231),  UpdateTDSpyTextBox(playerid, 10, 0xab6007AA),SetPVarInt(playerid,"KeyRecon", GetPVarInt(playerid,"KeyRecon")+1), PlayerPlaySound(playerid, 1083, 0.0, 0.0, 0.0);
	    case 9: UpdateTDSpyTextBox(playerid, 10, 0xab6007AA),PlayerPlaySound(playerid, 1083, 0.0, 0.0, 0.0);
	}
	switch(GetPVarInt(playerid, "PodBox"))
	{
	    case 1: UpdateTDSpyTextBox1(playerid, 0, 128), UpdateTDSpyTextBox1(playerid, 1, 0xab6007AA), SetPVarInt(playerid,"PodBox", GetPVarInt(playerid,"PodBox")+1);
	    case 2: UpdateTDSpyTextBox1(playerid, 1, 128), UpdateTDSpyTextBox1(playerid, 2, 0xab6007AA), SetPVarInt(playerid,"PodBox", GetPVarInt(playerid,"PodBox")+1);
	    case 3: UpdateTDSpyTextBox1(playerid, 2, 0xab6007AA);
	}
	return true;
}

stock PressNum4(playerid)
{
	if(GetPVarInt(playerid, "KeyRecon") == 0) return true;
	switch(GetPVarInt(playerid, "KeyRecon"))
	{
		case 1: UpdateTDSpyTextBox(playerid, 2, 589439231),  UpdateTDSpyTextBox(playerid, 1, 0xab6007AA), PlayerPlaySound(playerid, 1084, 0.0, 0.0, 0.0);
		case 2: UpdateTDSpyTextBox(playerid, 3, 589439231),  UpdateTDSpyTextBox(playerid, 2, 0xab6007AA), SetPVarInt(playerid,"KeyRecon", GetPVarInt(playerid,"KeyRecon")-1), PlayerPlaySound(playerid, 1084, 0.0, 0.0, 0.0);
		case 3: UpdateTDSpyTextBox(playerid, 4, 589439231),  UpdateTDSpyTextBox(playerid, 3, 0xab6007AA), SetPVarInt(playerid,"KeyRecon", GetPVarInt(playerid,"KeyRecon")-1), PlayerPlaySound(playerid, 1084, 0.0, 0.0, 0.0);
		case 4: UpdateTDSpyTextBox(playerid, 5, 589439231),  UpdateTDSpyTextBox(playerid, 4, 0xab6007AA), SetPVarInt(playerid,"KeyRecon", GetPVarInt(playerid,"KeyRecon")-1), PlayerPlaySound(playerid, 1084, 0.0, 0.0, 0.0);
		case 5: UpdateTDSpyTextBox(playerid, 6, 589439231),  UpdateTDSpyTextBox(playerid, 5, 0xab6007AA), SetPVarInt(playerid,"KeyRecon", GetPVarInt(playerid,"KeyRecon")-1), PlayerPlaySound(playerid, 1084, 0.0, 0.0, 0.0);
		case 6: UpdateTDSpyTextBox(playerid, 7, 589439231),  UpdateTDSpyTextBox(playerid, 6, 0xab6007AA), SetPVarInt(playerid,"KeyRecon", GetPVarInt(playerid,"KeyRecon")-1), PlayerPlaySound(playerid, 1084, 0.0, 0.0, 0.0);
		case 7: UpdateTDSpyTextBox(playerid, 8, 589439231),  UpdateTDSpyTextBox(playerid, 7, 0xab6007AA), SetPVarInt(playerid,"KeyRecon", GetPVarInt(playerid,"KeyRecon")-1), PlayerPlaySound(playerid, 1084, 0.0, 0.0, 0.0);
		case 8: UpdateTDSpyTextBox(playerid, 9, 589439231),  UpdateTDSpyTextBox(playerid, 8, 0xab6007AA), SetPVarInt(playerid,"KeyRecon", GetPVarInt(playerid,"KeyRecon")-1), PlayerPlaySound(playerid, 1084, 0.0, 0.0, 0.0);
		case 9: UpdateTDSpyTextBox(playerid, 10, 589439231), UpdateTDSpyTextBox(playerid, 9, 0xab6007AA), SetPVarInt(playerid,"KeyRecon", GetPVarInt(playerid,"KeyRecon")-1), PlayerPlaySound(playerid, 1084, 0.0, 0.0, 0.0);
	}
	switch(GetPVarInt(playerid, "PodBox"))
	{
	    case 1: PlayerPlaySound(playerid, 1083, 0.0, 0.0, 0.0);
		case 2: UpdateTDSpyTextBox1(playerid, 1, 128), UpdateTDSpyTextBox1(playerid, 0, 0xab6007AA), SetPVarInt(playerid,"PodBox", GetPVarInt(playerid,"PodBox")-1), PlayerPlaySound(playerid, 1083, 0.0, 0.0, 0.0);
		case 3: UpdateTDSpyTextBox1(playerid, 2, 128), UpdateTDSpyTextBox1(playerid, 1, 0xab6007AA), SetPVarInt(playerid,"PodBox", GetPVarInt(playerid,"PodBox")-1), PlayerPlaySound(playerid, 1083, 0.0, 0.0, 0.0);
	}
	return true;
}

stock PressKeyJump(playerid)
{
	if(GetPVarInt(playerid, "spectate") == 0) return true;
	switch(GetPVarInt(playerid, "KeyRecon"))
	{
 		case 1: UpdateTDSpyTextBox(playerid, 2, 589439231);
 		case 2: UpdateTDSpyTextBox(playerid, 3, 589439231);
 		case 3: UpdateTDSpyTextBox(playerid, 4, 589439231);
 		case 4: UpdateTDSpyTextBox(playerid, 5, 589439231);
 		case 5: UpdateTDSpyTextBox(playerid, 6, 589439231);
 		case 6: UpdateTDSpyTextBox(playerid, 7, 589439231);
 		case 7: UpdateTDSpyTextBox(playerid, 8, 589439231);
 		case 8: UpdateTDSpyTextBox(playerid, 9, 589439231);
 		case 9: UpdateTDSpyTextBox(playerid, 10, 589439231);
	}
	//==================================================
	PlayerTextDrawHide(playerid, SpyPodBox[0][playerid]);
	PlayerTextDrawHide(playerid, SpyPodBox[1][playerid]);
	PlayerTextDrawHide(playerid, SpyPodBox[2][playerid]);
	PlayerTextDrawHide(playerid, SpyPodText[0][playerid]);
	PlayerTextDrawHide(playerid, SpyPodText[1][playerid]);
	PlayerTextDrawHide(playerid, SpyPodText[2][playerid]);
	//==================================================
	SetPVarInt(playerid,"PodBox", -1);
	SetPVarInt(playerid,"KeyRecon", 1);
	SetPVarInt(playerid,"SpecText", 0);
	//==================================================
	SelectTextDraw(playerid, 0xab6007AA);
	return true;
}

stock LoadIntTD(playerid)
{
	//========================================================
	SpyPodBox[0][playerid] = CreatePlayerTextDraw(playerid, 93.000000, 213.050003, "LD_SPAC:white");
	PlayerTextDrawBackgroundColor(playerid, SpyPodBox[0][playerid], 0);
	PlayerTextDrawFont(playerid, SpyPodBox[0][playerid], 4);
	PlayerTextDrawLetterSize(playerid, SpyPodBox[0][playerid], 0.500000, 0.799998);
	PlayerTextDrawColor(playerid, SpyPodBox[0][playerid], 128);
	PlayerTextDrawSetOutline(playerid, SpyPodBox[0][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyPodBox[0][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyPodBox[0][playerid], 1);
	PlayerTextDrawUseBox(playerid, SpyPodBox[0][playerid], 1);
	PlayerTextDrawBoxColor(playerid, SpyPodBox[0][playerid], 65535);
	PlayerTextDrawTextSize(playerid, SpyPodBox[0][playerid], 89.000000, 13.000000);
	PlayerTextDrawSetSelectable(playerid, SpyPodBox[0][playerid], 1);
	
	SpyPodBox[1][playerid] = CreatePlayerTextDraw(playerid, 93.000000, 227.050003, "LD_SPAC:white");
	PlayerTextDrawBackgroundColor(playerid, SpyPodBox[1][playerid], 0);
	PlayerTextDrawFont(playerid, SpyPodBox[1][playerid], 4);
	PlayerTextDrawLetterSize(playerid, SpyPodBox[1][playerid], 0.500000, 0.799998);
	PlayerTextDrawColor(playerid, SpyPodBox[1][playerid], 128);
	PlayerTextDrawSetOutline(playerid, SpyPodBox[1][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyPodBox[1][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyPodBox[1][playerid], 1);
	PlayerTextDrawUseBox(playerid, SpyPodBox[1][playerid], 1);
	PlayerTextDrawBoxColor(playerid, SpyPodBox[1][playerid], 65535);
	PlayerTextDrawTextSize(playerid, SpyPodBox[1][playerid], 89.000000, 13.000000);
	PlayerTextDrawSetSelectable(playerid, SpyPodBox[1][playerid], 1);
	
	SpyPodBox[2][playerid] = CreatePlayerTextDraw(playerid, 93.000000, 241.050003, "LD_SPAC:white");
	PlayerTextDrawBackgroundColor(playerid, SpyPodBox[2][playerid], 0);
	PlayerTextDrawFont(playerid, SpyPodBox[2][playerid], 4);
	PlayerTextDrawLetterSize(playerid, SpyPodBox[2][playerid], 0.500000, 0.799998);
	PlayerTextDrawColor(playerid, SpyPodBox[2][playerid], 128);
	PlayerTextDrawSetOutline(playerid, SpyPodBox[2][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyPodBox[2][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyPodBox[2][playerid], 1);
	PlayerTextDrawUseBox(playerid, SpyPodBox[2][playerid], 1);
	PlayerTextDrawBoxColor(playerid, SpyPodBox[2][playerid], 65535);
	PlayerTextDrawTextSize(playerid, SpyPodBox[2][playerid], 89.000000, 13.000000);
	PlayerTextDrawSetSelectable(playerid, SpyPodBox[2][playerid], 1);
	//==
	SpyPodText[0][playerid] = CreatePlayerTextDraw(playerid, 130.000000, 215.000000, "Test 1");
	PlayerTextDrawBackgroundColor(playerid, SpyPodText[0][playerid], 255);
	PlayerTextDrawFont(playerid, SpyPodText[0][playerid], 1);
	PlayerTextDrawLetterSize(playerid, SpyPodText[0][playerid], 0.239999, 0.799997);
	PlayerTextDrawColor(playerid, SpyPodText[0][playerid], 589439231);
	PlayerTextDrawSetOutline(playerid, SpyPodText[0][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyPodText[0][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyPodText[0][playerid], 0);
	PlayerTextDrawSetSelectable(playerid, SpyPodText[0][playerid], 0);

	SpyPodText[1][playerid] = CreatePlayerTextDraw(playerid, 130.000000, 229.000000, "Test 2");
	PlayerTextDrawBackgroundColor(playerid, SpyPodText[1][playerid], 255);
	PlayerTextDrawFont(playerid, SpyPodText[1][playerid], 1);
	PlayerTextDrawLetterSize(playerid, SpyPodText[1][playerid], 0.239999, 0.799997);
	PlayerTextDrawColor(playerid, SpyPodText[1][playerid], 589439231);
	PlayerTextDrawSetOutline(playerid, SpyPodText[1][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyPodText[1][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyPodText[1][playerid], 0);
	PlayerTextDrawSetSelectable(playerid, SpyPodText[1][playerid], 0);
	
	SpyPodText[2][playerid] = CreatePlayerTextDraw(playerid, 130.000000, 243.000000, "Test 3");
	PlayerTextDrawBackgroundColor(playerid, SpyPodText[2][playerid], 255);
	PlayerTextDrawFont(playerid, SpyPodText[2][playerid], 1);
	PlayerTextDrawLetterSize(playerid, SpyPodText[2][playerid], 0.239999, 0.799997);
	PlayerTextDrawColor(playerid, SpyPodText[2][playerid], 589439231);
	PlayerTextDrawSetOutline(playerid, SpyPodText[2][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyPodText[2][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyPodText[2][playerid], 0);
	PlayerTextDrawSetSelectable(playerid, SpyPodText[2][playerid], 0);
	//==
	SpyTestBox[0][playerid] = CreatePlayerTextDraw(playerid, 102.000000, 193.000000, "_");
	PlayerTextDrawBackgroundColor(playerid, SpyTestBox[0][playerid], 255);
	PlayerTextDrawFont(playerid, SpyTestBox[0][playerid], 1);
	PlayerTextDrawLetterSize(playerid, SpyTestBox[0][playerid], 0.500000, 15.300004);
	PlayerTextDrawColor(playerid, SpyTestBox[0][playerid], -1);
	PlayerTextDrawSetOutline(playerid, SpyTestBox[0][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyTestBox[0][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyTestBox[0][playerid], 1);
	PlayerTextDrawUseBox(playerid, SpyTestBox[0][playerid], 1);
	PlayerTextDrawBoxColor(playerid, SpyTestBox[0][playerid], 1869376096);
	PlayerTextDrawTextSize(playerid, SpyTestBox[0][playerid], -3.000000, -20.000000);
	PlayerTextDrawSetSelectable(playerid, SpyTestBox[0][playerid], 0);

	SpyTestBox[1][playerid] = CreatePlayerTextDraw(playerid, 101.000000, 194.000000, "_");
	PlayerTextDrawBackgroundColor(playerid, SpyTestBox[1][playerid], 255);
	PlayerTextDrawFont(playerid, SpyTestBox[1][playerid], 1);
	PlayerTextDrawLetterSize(playerid, SpyTestBox[1][playerid], 0.500000, 15.100000);
	PlayerTextDrawColor(playerid, SpyTestBox[1][playerid], -1);
	PlayerTextDrawSetOutline(playerid, SpyTestBox[1][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyTestBox[1][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyTestBox[1][playerid], 1);
	PlayerTextDrawUseBox(playerid, SpyTestBox[1][playerid], 1);
	PlayerTextDrawBoxColor(playerid, SpyTestBox[1][playerid], 959985663);
	PlayerTextDrawTextSize(playerid, SpyTestBox[1][playerid], -3.000000, -20.000000);
	PlayerTextDrawSetSelectable(playerid, SpyTestBox[1][playerid], 0);

	SpyTestBox[2][playerid] = CreatePlayerTextDraw(playerid, 5.000000, 198.050003, "LD_SPAC:white");
	PlayerTextDrawBackgroundColor(playerid, SpyTestBox[2][playerid], 0);
	PlayerTextDrawFont(playerid, SpyTestBox[2][playerid], 4);
	PlayerTextDrawLetterSize(playerid, SpyTestBox[2][playerid], 0.500000, 0.799999);
	PlayerTextDrawColor(playerid, SpyTestBox[2][playerid], 589439231);
	PlayerTextDrawSetOutline(playerid, SpyTestBox[2][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyTestBox[2][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyTestBox[2][playerid], 1);
	PlayerTextDrawUseBox(playerid, SpyTestBox[2][playerid], 1);
	PlayerTextDrawBoxColor(playerid, SpyTestBox[2][playerid], 255);
	PlayerTextDrawTextSize(playerid, SpyTestBox[2][playerid], 89.000000, 13.000000);
	PlayerTextDrawSetSelectable(playerid, SpyTestBox[2][playerid], 1);

	SpyTestBox[3][playerid] = CreatePlayerTextDraw(playerid, 5.000000, 213.050003, "LD_SPAC:white");
	PlayerTextDrawBackgroundColor(playerid, SpyTestBox[3][playerid], 0);
	PlayerTextDrawFont(playerid, SpyTestBox[3][playerid], 4);
	PlayerTextDrawLetterSize(playerid, SpyTestBox[3][playerid], 0.500000, 0.799999);
	PlayerTextDrawColor(playerid, SpyTestBox[3][playerid], 589439231);
	PlayerTextDrawSetOutline(playerid, SpyTestBox[3][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyTestBox[3][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyTestBox[3][playerid], 1);
	PlayerTextDrawUseBox(playerid, SpyTestBox[3][playerid], 1);
	PlayerTextDrawBoxColor(playerid, SpyTestBox[3][playerid], 255);
	PlayerTextDrawTextSize(playerid, SpyTestBox[3][playerid], 89.000000, 13.000000);
	PlayerTextDrawSetSelectable(playerid, SpyTestBox[3][playerid], 1);
	
	SpyTestBox[4][playerid] = CreatePlayerTextDraw(playerid,5.000000, 227.2500, "LD_SPAC:white");
	PlayerTextDrawBackgroundColor(playerid, SpyTestBox[4][playerid], 0);
	PlayerTextDrawFont(playerid, SpyTestBox[4][playerid], 4);
	PlayerTextDrawLetterSize(playerid, SpyTestBox[4][playerid], 0.500000, 0.799996);
	PlayerTextDrawColor(playerid, SpyTestBox[4][playerid], 589439231);
	PlayerTextDrawSetOutline(playerid, SpyTestBox[4][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyTestBox[4][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyTestBox[4][playerid], 1);
	PlayerTextDrawUseBox(playerid, SpyTestBox[4][playerid], 1);
	PlayerTextDrawBoxColor(playerid, SpyTestBox[4][playerid], 255);
	PlayerTextDrawTextSize(playerid, SpyTestBox[4][playerid], 89.000000, 13.000000);
	PlayerTextDrawSetSelectable(playerid, SpyTestBox[4][playerid], 1);
	
	SpyTestBox[5][playerid] = CreatePlayerTextDraw(playerid, 5.000000, 241.899993, "LD_SPAC:white");
	PlayerTextDrawBackgroundColor(playerid, SpyTestBox[5][playerid], 0);
	PlayerTextDrawFont(playerid, SpyTestBox[5][playerid], 4);
	PlayerTextDrawLetterSize(playerid, SpyTestBox[5][playerid], 0.500000, 0.799996);
	PlayerTextDrawColor(playerid, SpyTestBox[5][playerid], 589439231);
	PlayerTextDrawSetOutline(playerid, SpyTestBox[5][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyTestBox[5][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyTestBox[5][playerid], 1);
	PlayerTextDrawUseBox(playerid, SpyTestBox[5][playerid], 1);
	PlayerTextDrawBoxColor(playerid, SpyTestBox[5][playerid], 255);
	PlayerTextDrawTextSize(playerid, SpyTestBox[5][playerid], 89.000000, 13.000000);
	PlayerTextDrawSetSelectable(playerid, SpyTestBox[5][playerid], 1);

	SpyTestBox[6][playerid] = CreatePlayerTextDraw(playerid, 5.000000, 256.500000, "LD_SPAC:white");
	PlayerTextDrawBackgroundColor(playerid, SpyTestBox[6][playerid], 0);
	PlayerTextDrawFont(playerid, SpyTestBox[6][playerid], 4);
	PlayerTextDrawLetterSize(playerid, SpyTestBox[6][playerid], 0.500000, 0.799996);
	PlayerTextDrawColor(playerid, SpyTestBox[6][playerid], 589439231);
	PlayerTextDrawSetOutline(playerid, SpyTestBox[6][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyTestBox[6][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyTestBox[6][playerid], 1);
	PlayerTextDrawUseBox(playerid, SpyTestBox[6][playerid], 1);
	PlayerTextDrawBoxColor(playerid, SpyTestBox[6][playerid], 255);
	PlayerTextDrawTextSize(playerid, SpyTestBox[6][playerid], 89.000000, 13.000000);
	PlayerTextDrawSetSelectable(playerid, SpyTestBox[6][playerid], 1);

	SpyTestBox[7][playerid] = CreatePlayerTextDraw(playerid, 5.000000, 271.000000, "LD_SPAC:white");
	PlayerTextDrawBackgroundColor(playerid, SpyTestBox[7][playerid], 0);
	PlayerTextDrawFont(playerid, SpyTestBox[7][playerid], 4);
	PlayerTextDrawLetterSize(playerid, SpyTestBox[7][playerid], 0.500000, 0.799996);
	PlayerTextDrawColor(playerid, SpyTestBox[7][playerid], 589439231);
	PlayerTextDrawSetOutline(playerid, SpyTestBox[7][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyTestBox[7][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyTestBox[7][playerid], 1);
	PlayerTextDrawUseBox(playerid, SpyTestBox[7][playerid], 1);
	PlayerTextDrawBoxColor(playerid, SpyTestBox[7][playerid], 255);
	PlayerTextDrawTextSize(playerid, SpyTestBox[7][playerid], 89.000000, 13.000000);
	PlayerTextDrawSetSelectable(playerid, SpyTestBox[7][playerid], 1);

	SpyTestBox[8][playerid] = CreatePlayerTextDraw(playerid, 5.000000, 286.000000, "LD_SPAC:white");
	PlayerTextDrawBackgroundColor(playerid, SpyTestBox[8][playerid], 0);
	PlayerTextDrawFont(playerid, SpyTestBox[8][playerid], 4);
	PlayerTextDrawLetterSize(playerid, SpyTestBox[8][playerid], 0.500000, 0.799996);
	PlayerTextDrawColor(playerid, SpyTestBox[8][playerid], 589439231);
	PlayerTextDrawSetOutline(playerid, SpyTestBox[8][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyTestBox[8][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyTestBox[8][playerid], 1);
	PlayerTextDrawUseBox(playerid, SpyTestBox[8][playerid], 1);
	PlayerTextDrawBoxColor(playerid, SpyTestBox[8][playerid], 255);
	PlayerTextDrawTextSize(playerid, SpyTestBox[8][playerid], 89.000000, 13.000000);
	PlayerTextDrawSetSelectable(playerid, SpyTestBox[8][playerid], 1);

	SpyTestBox[9][playerid] = CreatePlayerTextDraw(playerid, 5.000000, 301.000000, "LD_SPAC:white");
	PlayerTextDrawBackgroundColor(playerid, SpyTestBox[9][playerid], 0);
	PlayerTextDrawFont(playerid, SpyTestBox[9][playerid], 4);
	PlayerTextDrawLetterSize(playerid, SpyTestBox[9][playerid], 0.500000, 0.799996);
	PlayerTextDrawColor(playerid, SpyTestBox[9][playerid], 589439231);
	PlayerTextDrawSetOutline(playerid, SpyTestBox[9][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyTestBox[9][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyTestBox[9][playerid], 1);
	PlayerTextDrawUseBox(playerid, SpyTestBox[9][playerid], 1);
	PlayerTextDrawBoxColor(playerid, SpyTestBox[9][playerid], 255);
	PlayerTextDrawTextSize(playerid, SpyTestBox[9][playerid], 89.000000, 13.000000);
	PlayerTextDrawSetSelectable(playerid, SpyTestBox[9][playerid], 1);

	SpyTestBox[10][playerid] = CreatePlayerTextDraw(playerid, 5.000000, 315.500000, "LD_SPAC:white");
	PlayerTextDrawBackgroundColor(playerid, SpyTestBox[10][playerid], 0);
	PlayerTextDrawFont(playerid, SpyTestBox[10][playerid], 4);
	PlayerTextDrawLetterSize(playerid, SpyTestBox[10][playerid], 0.500000, 0.799996);
	PlayerTextDrawColor(playerid, SpyTestBox[10][playerid], 589439231);
	PlayerTextDrawSetOutline(playerid, SpyTestBox[10][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyTestBox[10][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyTestBox[10][playerid], 1);
	PlayerTextDrawUseBox(playerid, SpyTestBox[10][playerid], 1);
	PlayerTextDrawBoxColor(playerid, SpyTestBox[10][playerid], 255);
	PlayerTextDrawTextSize(playerid, SpyTestBox[10][playerid], 89.000000, 13.000000);
	PlayerTextDrawSetSelectable(playerid, SpyTestBox[10][playerid], 1);
	//========================================================================
	
	SpyTestText[0][playerid] = CreatePlayerTextDraw(playerid, 36.000000, 201.000000, "Change");
	PlayerTextDrawBackgroundColor(playerid, SpyTestText[0][playerid], 255);
	PlayerTextDrawFont(playerid, SpyTestText[0][playerid], 1);
	PlayerTextDrawLetterSize(playerid, SpyTestText[0][playerid], 0.280000, 0.799999);
	PlayerTextDrawColor(playerid, SpyTestText[0][playerid], -1835888129);
	PlayerTextDrawSetOutline(playerid, SpyTestText[0][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyTestText[0][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyTestText[0][playerid], 0);
	PlayerTextDrawSetSelectable(playerid, SpyTestText[0][playerid], 0);
	
	SpyTestText[1][playerid] = CreatePlayerTextDraw(playerid, 32.000000, 216.000000, "Check >>");
	PlayerTextDrawBackgroundColor(playerid, SpyTestText[1][playerid], 255);
	PlayerTextDrawFont(playerid, SpyTestText[1][playerid], 1);
	PlayerTextDrawLetterSize(playerid, SpyTestText[1][playerid], 0.280000, 0.799999);
	PlayerTextDrawColor(playerid, SpyTestText[1][playerid], -1835888129);
	PlayerTextDrawSetOutline(playerid, SpyTestText[1][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyTestText[1][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyTestText[1][playerid], 0);
	PlayerTextDrawSetSelectable(playerid, SpyTestText[1][playerid], 0);
	
	SpyTestText[2][playerid] = CreatePlayerTextDraw(playerid, 37.000000, 230.000000, "Drop >>");
	PlayerTextDrawBackgroundColor(playerid, SpyTestText[2][playerid], 255);
	PlayerTextDrawFont(playerid, SpyTestText[2][playerid], 1);
	PlayerTextDrawLetterSize(playerid, SpyTestText[2][playerid], 0.239998, 0.799996);
	PlayerTextDrawColor(playerid, SpyTestText[2][playerid], -1835888129);
	PlayerTextDrawSetOutline(playerid, SpyTestText[2][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyTestText[2][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyTestText[2][playerid], 0);
	PlayerTextDrawSetSelectable(playerid, SpyTestText[2][playerid], 0);
	
	SpyTestText[3][playerid] = CreatePlayerTextDraw(playerid, 38.000000, 245.000000, "Kick >>");
	PlayerTextDrawBackgroundColor(playerid, SpyTestText[3][playerid], 255);
	PlayerTextDrawFont(playerid, SpyTestText[3][playerid], 1);
	PlayerTextDrawLetterSize(playerid, SpyTestText[3][playerid], 0.239998, 0.799996);
	PlayerTextDrawColor(playerid, SpyTestText[3][playerid], -1835888129);
	PlayerTextDrawSetOutline(playerid, SpyTestText[3][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyTestText[3][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyTestText[3][playerid], 0);
	PlayerTextDrawSetSelectable(playerid, SpyTestText[3][playerid], 0);

	SpyTestText[4][playerid] = CreatePlayerTextDraw(playerid, 40.000000, 259.000000, "Warn");
	PlayerTextDrawBackgroundColor(playerid, SpyTestText[4][playerid], 255);
	PlayerTextDrawFont(playerid, SpyTestText[4][playerid], 1);
	PlayerTextDrawLetterSize(playerid, SpyTestText[4][playerid], 0.239998, 0.799996);
	PlayerTextDrawColor(playerid, SpyTestText[4][playerid], -1835888129);
	PlayerTextDrawSetOutline(playerid, SpyTestText[4][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyTestText[4][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyTestText[4][playerid], 0);
	PlayerTextDrawSetSelectable(playerid, SpyTestText[4][playerid], 0);
	
	SpyTestText[5][playerid] = CreatePlayerTextDraw(playerid, 39.000000, 274.000000, "Ban >>");
	PlayerTextDrawBackgroundColor(playerid, SpyTestText[5][playerid], 255);
	PlayerTextDrawFont(playerid, SpyTestText[5][playerid], 1);
	PlayerTextDrawLetterSize(playerid, SpyTestText[5][playerid], 0.239998, 0.799996);
	PlayerTextDrawColor(playerid, SpyTestText[5][playerid], -1835888129);
	PlayerTextDrawSetOutline(playerid, SpyTestText[5][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyTestText[5][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyTestText[5][playerid], 0);
	PlayerTextDrawSetSelectable(playerid, SpyTestText[5][playerid], 0);

	SpyTestText[6][playerid] = CreatePlayerTextDraw(playerid, 36.000000, 289.000000, "Stats >>");
	PlayerTextDrawBackgroundColor(playerid, SpyTestText[6][playerid], 255);
	PlayerTextDrawFont(playerid, SpyTestText[6][playerid], 1);
	PlayerTextDrawLetterSize(playerid, SpyTestText[6][playerid], 0.239998, 0.799996);
	PlayerTextDrawColor(playerid, SpyTestText[6][playerid], -1835888129);
	PlayerTextDrawSetOutline(playerid, SpyTestText[6][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyTestText[6][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyTestText[6][playerid], 0);
	PlayerTextDrawSetSelectable(playerid, SpyTestText[6][playerid], 0);

	SpyTestText[7][playerid] = CreatePlayerTextDraw(playerid, 36.000000, 304.000000, "Refresh");
	PlayerTextDrawBackgroundColor(playerid, SpyTestText[7][playerid], 255);
	PlayerTextDrawFont(playerid, SpyTestText[7][playerid], 1);
	PlayerTextDrawLetterSize(playerid, SpyTestText[7][playerid], 0.239998, 0.799996);
	PlayerTextDrawColor(playerid, SpyTestText[7][playerid], -1835888129);
	PlayerTextDrawSetOutline(playerid, SpyTestText[7][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyTestText[7][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyTestText[7][playerid], 0);
	PlayerTextDrawSetSelectable(playerid, SpyTestText[7][playerid], 0);

	SpyTestText[8][playerid] = CreatePlayerTextDraw(playerid, 42.000000, 319.000000, "Exit");
	PlayerTextDrawBackgroundColor(playerid, SpyTestText[8][playerid], 255);
	PlayerTextDrawFont(playerid, SpyTestText[8][playerid], 1);
	PlayerTextDrawLetterSize(playerid, SpyTestText[8][playerid], 0.239998, 0.799996);
	PlayerTextDrawColor(playerid, SpyTestText[8][playerid], -1835888129);
	PlayerTextDrawSetOutline(playerid, SpyTestText[8][playerid], 0);
	PlayerTextDrawSetProportional(playerid, SpyTestText[8][playerid], 1);
	PlayerTextDrawSetShadow(playerid, SpyTestText[8][playerid], 0);
	PlayerTextDrawSetSelectable(playerid, SpyTestText[8][playerid], 0);
	//=====
}
Автор: SlimX

Копирование с данного портала запрещено третьем лицам.
 
Последнее редактирование:
Статус
В этой теме нельзя размещать новые ответы.
Сверху Снизу