При вводе команд выбивает - Форум Cheat-Master.ru
  • Страница 1 из 1
  • 1
Модератор форума: [CM]OlegEhtler, Getbackthere, Phoenixxx_Czar  
При вводе команд выбивает
5292132 Дата: Вторник, 24.01.2017, 01:05 | Сообщение # 1
Новичок
Сообщений: 1
Статус: Offline
при вводе команд:/makeadmin /makeleader выбивает админа и игрока
[code] else if(strcmp(cmd, "/makeleader", true) == 0)
{
if(PlayerInfo[playerid][pAdmh] > 12)
{
tmp = strcharsplit(cmdtext, idx);
new para1 = ReturnUser(tmp);
if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_WHITE, " Ââåäèòå: /makeleader [id] [Number(1 - 26)]");
tmp = strcharsplit(cmdtext, idx);
new liderka = strval(tmp);
if(liderka > 26 || liderka < 1 || liderka == 22 || liderka == 20 || liderka == 9 || liderka == 8) return SendClientMessage(playerid, COLOR_GREY, "Íåëüçÿ ìåíüøå 1 èëè áîëüøå 26!");
if(!IsPlayerConnected(para1) || para1 == INVALID_PLAYER_ID) return true;
if(PlayerInfo[para1][pWarns] >= 1) return SendClientMessage(playerid, COLOR_GRAD1,"Ó èãðîêà Warn.");
PlayerInfo[para1][pLRInections] = liderka;
PlayerInfo[para1][pMRInections] = liderka;
PlayerInfo[para1][pJob] = 0;
format(stringer, sizeof(stringer), "Àäìèíèñòðàòîð %s íàçíà÷èë Âàñ êîíòðîëèðîâàòü äàííóþ îðãàíèçàöèþ", PlayerInfo[playerid][pNames]);
SendClientMessage(para1, 0x6ab1ffaa, stringer);
format(stringer, sizeof(stringer), "<SPRP> %s íàçíà÷èë %s êîíòðîëèðîâàòü ôðàêöèþ íîìåð: %d.",PlayerInfo[playerid][pNames], PlayerInfo[para1][pNames],liderka);
ABroadCast(0xFF9900AA,stringer,1);
format(stringer, sizeof(stringer), "Âû íàçíà÷èëè %s êîíòðîëèðîâàòü îðãàíèçàöèþ íîìåð %d.", PlayerInfo[para1][pNames],liderka);
SendClientMessage(playerid, 0x6ab1ffaa, stringer);
SendClientMessage(para1, COLOR_GREY, "Åñëè âû ñëó÷àéíî íàæàëè 'ENTER' è ìåíþ ïðîïàëî, íàæìèòå 'ENTER' åùå ðàç");
OldSkin[playerid] = GetPlayerSkin(playerid);
switch(liderka)
{
case 1: { PlayerInfo[para1][pRKInections] = 15; InviteSkin[para1] = 280; }
case 2: { PlayerInfo[para1][pRKInections] = 10; InviteSkin[para1] = 286; }
case 3,19: { PlayerInfo[para1][pRKInections] = 15; InviteSkin[para1] = 287; }
case 4: { PlayerInfo[para1][pRKInections] = 10; InviteSkin[para1] = 70; }
case 5: { PlayerInfo[para1][pRKInections] = 10; InviteSkin[para1] = 223; }
case 6: { PlayerInfo[para1][pRKInections] = 10; InviteSkin[para1] = 120; }
case 7: { PlayerInfo[para1][pRKInections] = 6; InviteSkin[para1] = 57; }
case 10: { PlayerInfo[para1][pRKInections] = 15; InviteSkin[para1] = 281; }
case 11: { PlayerInfo[para1][pRKInections] = 10; InviteSkin[para1] = 59; }
case 12: { PlayerInfo[para1][pRKInections] = 10; InviteSkin[para1] = 102; }
case 13: { PlayerInfo[para1][pRKInections] = 10; InviteSkin[para1] = 108; }
case 14: { PlayerInfo[para1][pRKInections] = 10; InviteSkin[para1] = 111; }
case 15: { PlayerInfo[para1][pRKInections] = 10; InviteSkin[para1] = 106; }
case 16: { PlayerInfo[para1][pRKInections] = 13; InviteSkin[para1] = 261; }
case 17: { PlayerInfo[para1][pRKInections] = 10; InviteSkin[para1] = 115; }
case 18: { PlayerInfo[para1][pRKInections] = 10; InviteSkin[para1] = 174; }
case 21: { PlayerInfo[para1][pRKInections] = 15; InviteSkin[para1] = 281; }
case 23: { PlayerInfo[para1][pRKInections] = 12; InviteSkin[para1] = 30; }
case 24: { PlayerInfo[para1][pRKInections] = 10; InviteSkin[para1] = 184; }
case 25: { PlayerInfo[para1][pRKInections] = 10; InviteSkin[para1] = 285; }
case 26: { PlayerInfo[para1][pRKInections] = 10; InviteSkin[para1] = 295; }
default: SendClientMessage(playerid, COLOR_WHITE, " Äàííàÿ ôðàêöèÿ áûëà óäàëåíà.");
}
AntiBan[playerid] += 30;
SetPlayerInterior(para1,5);
PlayerInfo[para1][pInt] = 5;
SetPlayerVirtualWorld(para1,1);
ShowMenuForPlayer(ChoseSkin,para1);
new rand = random(sizeof(gInviteSpawns));
SetPPos(para1, gInviteSpawns[rand][0], gInviteSpawns[rand][1], gInviteSpawns[rand][2]); // Warp the player
SetPlayerFacingAngle(para1, gInviteSpawns[rand][3]);
SetPlayerCameraPos(para1,gInviteSpawns[rand][0] + 3, gInviteSpawns[rand][1], gInviteSpawns[rand][2]);
SetPlayerCameraLookAt(para1,gInviteSpawns[rand][0], gInviteSpawns[rand][1], gInviteSpawns[rand][2]);
TogglePlayerControllable(para1, 0);
SelectChar[para1] = INVALID_PLAYER_ID;
SelectCharID[para1] = PlayerInfo[para1][pMRInections];
SelectCharPlace[para1] = 1;
PlayerInfo[para1][pModel] = InviteSkin[para1];
SetPlayerArmourAC(para1,0);
SetPlayerHealthAC(para1,100);
SetPlayerSkin(para1, InviteSkin[para1]);
getdate(year, month, day);
gettime(hour,minuite,second);
FixHour(hour);
new pMember;
SelectChar[para1] = INVALID_PLAYER_ID;
SelectCharID[para1] = PlayerInfo[para1][pMember];
SelectCharPlace[para1] = 1;
PlayerInfo[para1][pModel] = InviteSkin[para1];
SetPlayerArmourAC(para1,0);
SetPlayerHealthAC(para1,100);
SetPlayerSkin(para1, InviteSkin[para1]);
hour = shifthour;
new data2[64];
format(data2, 16, "%02d.%02d.%d â %02d:%d",day,month,year,hour,minuite);
format(stringer, sizeof(stringer), "INSERT INTO `logs` (`Text`, `Date`) VALUES ('%s âûäàë ëèäåðêó %s ôðàêöèè %d','%s')",PlayerInfo[playerid][pNames],PlayerInfo[para1][pNames],liderka,data2);
mysql_function_query(connects, stringer, false, "","");
format(stringer,64, " * %s makeleader %s fract %d.", PlayerInfo[playerid][pNames], PlayerInfo[para1][pNames], liderka);
AdmLog(stringer);
OnPlayerUpdateRL(playerid);
return true;
}
}
после ввода
до ввода
RellaX Дата: Вторник, 24.01.2017, 16:53 | Сообщение # 2
Боец
Сообщений: 282
Статус: Offline
Чего? Выбивает?

https://vk.com/zatkap
Plombirbom Дата: Среда, 25.01.2017, 09:25 | Сообщение # 3
Боец
Сообщений: 133
Статус: Offline
Нормально проблему опиши. Ничего не понятно.

Бесплатная студия графики: http://cheat-master.ru/forum/134-522716-1
  • Страница 1 из 1
  • 1
Поиск:
Статистика Форума
Лучшие пользователи
Admin [39113]

GеNius [7210]

[CM]Russel [5557]

kenlo763 [4952]

[CM]AGRESSOR [4639]

Snake_Firm [4452]

Сэс [4416]

Artem_Buero [4223]

[CM]Durman [3204]

[CM]Рафаэль [3080]

iMaddy [2855]

sky_Woker [2854]

getrekt [2745]

Новые пользователи
bondarkovasyl [01:24]

DeTruXer [00:16]

NapoleonBonapart [23:46]

Dfgafgwdxz [18:04]

Dominikopon [18:00]

cheatjopa2 [11:58]

gabitovismaismaisma [09:18]

Gotham_ws [03:45]

раре [02:58]

Epiphonexmr [02:38]

ksuexe [01:35]

petrusenko_t [23:29]

shanepk60 [21:19]