Доступ к архиву

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

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

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

Делаем эфекты у игрока/админа

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

denis32rus

Компетентный
Вот команда чтоб побаловаться админам/игрокам

так: Ко всем командам добавим
PHP:
	if(strcmp(cmd, "/objj", true) == 0)
	{
        if (PlayerInfo[playerid][pAdmin] >= 4)
	    {
     		ShowPlayerDialog(playerid,70,DIALOG_STYLE_LIST,"{FD7F09}Выбери и балуйся :D:","Убрать всё\nОгонь 1\nОгонь 2\nСвет 1\nСвет 2\nЛуна\nМигалка\n[ 1 ]\n[ 2 ]\n[ 3 ]\n[ 4 ]\n[ 5 ]","Выбор","Отмена");
   			printf("Использвалась команда %s",cmd);
		}
		else
        {
            SendClientMessage(playerid, COLOR_GREY, "{FD7F09}Вы не Администратор !");
            return 1;
        }
		return 1;
	}
Ко всем диалогам добавим
PHP:
	if(dialogid == 70)
	{
	    if(response)
	    {
			if(listitem == 0)
			{
                RemovePlayerAttachedObject(playerid,3);
	  			return 1;
			}
			if(listitem == 1)
			{
			    SetPlayerAttachedObject(playerid,3 , 18689, 2,-0.011000, 0.019999, 0.000000, 91.000000, 84.000000, 0.000000); //Attach a turtle to the playerid's head!
                return 1;
			}
			if(listitem == 2)
			{
			    SetPlayerAttachedObject(playerid,3 , 18694, 2,0.070000, 0.019999, 0.000000, 91.000000, 84.000000, 0.000000); //Attach a turtle to the playerid's head!
                return 1;
			}
			if(listitem == 3)
			{
   				SetPlayerAttachedObject(playerid,3 , 19280, 2,0.070000, 0.019999, 0.000000, 91.000000, 84.000000, 0.000000); //Attach a turtle to the playerid's head!
                return 1;
			}
			if(listitem == 4)
			{
   				SetPlayerAttachedObject(playerid,3 , 19298, 2,0.070000, 0.019999, 0.000000, 91.000000, 84.000000, 0.000000); //Attach a turtle to the playerid's head!
                return 1;
			}
			if(listitem == 5) //
			{
				SetPlayerAttachedObject(playerid,3 , 19299, 2,0.070000, 0.019999, 0.000000, 91.000000, 84.000000, 0.000000); //Attach a turtle to the playerid's head!
                return 1;
			}
			if(listitem == 6) // 18646
			{
				SetPlayerAttachedObject(playerid,3 , 18646, 2,0.070000, 0.019999, -1.000000, 91.000000, 84.000000, 0.000000); //Attach a turtle to the playerid's head!
                return 1;
			}
			if(listitem == 7) // 18646
			{
				SetPlayerAttachedObject(playerid,3 , 18714, 2,0.070000, 0.019999, -1.000000, 91.000000, 84.000000, 0.000000); //Attach a turtle to the playerid's head!
                return 1;
			}
			if(listitem == 8) // 18646
			{
				SetPlayerAttachedObject(playerid,3 , 18844, 2,0.070000, 0.019999, -1.000000, 91.000000, 84.000000, 0.000000); //Attach a turtle to the playerid's head!
                return 1;
			}
			if(listitem == 9) // 18646
			{
				SetPlayerAttachedObject(playerid,3 , 18846, 2,0.070000, 0.019999, -1.000000, 91.000000, 84.000000, 0.000000); //Attach a turtle to the playerid's head!
                return 1;
			}
			if(listitem == 10) // 18646
			{
				SetPlayerAttachedObject(playerid,3 , 18697, 2,0.070000, 0.019999, -1.000000, 91.000000, 84.000000, 0.000000); //Attach a turtle to the playerid's head!
                return 1;
			}
			if(listitem == 11) // 18646
			{
				SetPlayerAttachedObject(playerid,3 , 19086, 2,0.070000, 0.019999, -1.000000, 91.000000, 84.000000, 0.000000); //Attach a turtle to the playerid's head!
                return 1;
			}
		}
	}
 
Статус
В этой теме нельзя размещать новые ответы.
Сверху Снизу