Команда для админов пригодиться на мпшку! Дед Мороз - Форум Cheat-Master.ru
  • Страница 1 из 1
  • 1
Модератор форума: [CM]OlegEhtler, Getbackthere, Phoenixxx_Czar  
Команда для админов пригодиться на мпшку! Дед Мороз
shiraki Дата: Пятница, 10.03.2017, 17:02 | Сообщение # 1
Любитель
Сообщений: 48
Статус: Offline
Код
CMD:dedmoroz(playerid)
{
    if(PlayerInfo[playerid][pAdmin] < 1) return 1; //на свою переменную админки
    {
        if(IsPlayerAttachedObjectSlotUsed(playerid, 0))
        {
            for(new i = 0; i < 6; i++)
            {
                RemovePlayerAttachedObject(playerid,i);
            }
            return 1;
        }
        SetPlayerAttachedObject(playerid, 2, 19516, 2,0.050000,-0.019999,0.000000,0.000000,180.000000,-90.000000,1.299999,1.200000,1.000000);
        SetPlayerAttachedObject(playerid, 1, 19516, 2,-0.064999,0.029999,0.000000,0.000000,0.000000,90.000000,1.000000,1.299999,1.000000);
        SetPlayerAttachedObject(playerid, 1, 19516, 2,-0.064999,0.029999,0.000000,0.000000,0.000000,90.000000,1.000000,1.299999,1.000000);
        SetPlayerAttachedObject(playerid, 3, 19066, 2,0.150000,-0.009999,0.000000,-90.000000,90.000000,180.000000,1.000000,1.000000,1.000000);
        SetPlayerAttachedObject(playerid, 6, 19065, 1,-0.209999,0.000000,0.090000,180.000000,75.000000,180.000000,1.200000,3.000000,6.500000);
        SetPlayerAttachedObject(playerid, 5, 19065, 1,-0.209999,0.000000,-0.090000,0.000000,75.000000,180.000000,1.200000,3.000000,6.500000);
        SetPlayerAttachedObject(playerid, 4, 19065, 1,-0.550000,-0.200000,0.000000,90.000000,10.000000,185.000000,4.400000,3.799999,1.799999);
        SetPlayerAttachedObject(playerid, 7, 19348, 6,0.070000,0.000000,0.600000,0.898999,180.000000,-119.299003,1.200000,1.200000,1.799999);
        SetPlayerSkin(playerid, 189);//на свою функцию выдачи скина
        return 1;
}  


Код
else if(strcmp(cmd, "/dedmoroz", true) == 0)
{
    if(PlayerInfo[playerid][pAdmin] < 1) return 1; //на свою переменную админки
    {
        if(IsPlayerAttachedObjectSlotUsed(playerid, 0))
        {
            for(new i = 0; i < 6; i++)
            {
                RemovePlayerAttachedObject(playerid,i);
            }
            return 1;
        }
        SetPlayerAttachedObject(playerid, 2, 19516, 2,0.050000,-0.019999,0.000000,0.000000,180.000000,-90.000000,1.299999,1.200000,1.000000);
        SetPlayerAttachedObject(playerid, 1, 19516, 2,-0.064999,0.029999,0.000000,0.000000,0.000000,90.000000,1.000000,1.299999,1.000000);
        SetPlayerAttachedObject(playerid, 1, 19516, 2,-0.064999,0.029999,0.000000,0.000000,0.000000,90.000000,1.000000,1.299999,1.000000);
        SetPlayerAttachedObject(playerid, 3, 19066, 2,0.150000,-0.009999,0.000000,-90.000000,90.000000,180.000000,1.000000,1.000000,1.000000);
        SetPlayerAttachedObject(playerid, 6, 19065, 1,-0.209999,0.000000,0.090000,180.000000,75.000000,180.000000,1.200000,3.000000,6.500000);
        SetPlayerAttachedObject(playerid, 5, 19065, 1,-0.209999,0.000000,-0.090000,0.000000,75.000000,180.000000,1.200000,3.000000,6.500000);
        SetPlayerAttachedObject(playerid, 4, 19065, 1,-0.550000,-0.200000,0.000000,90.000000,10.000000,185.000000,4.400000,3.799999,1.799999);
        SetPlayerAttachedObject(playerid, 7, 19348, 6,0.070000,0.000000,0.600000,0.898999,180.000000,-119.299003,1.200000,1.200000,1.799999);
        SetPlayerSkin(playerid, 189);//на свою функцию выдачи скина
        return 1;
}  


скрины


vk.com/sampveris
Люблю вас за репу)))


Сообщение отредактировал shiraki - Пятница, 10.03.2017, 17:03
  • Страница 1 из 1
  • 1
Поиск: