когда админ использует команду,то вместо его ника в админ чате пробел.

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

apollotwitch

Постоянный
Пользователь
С нами с
9 Мар 2016
Сообщения
90
Реакции
0
Баллы
0
37(огнемет)"); использует "Администратор return 9) { playa; команды!"); /givegun SendAdminMessage(COLOR_GRAD2, return sendername); strval(tmp); GivePlayerWeapon(playa, "6(лопата) else COLOR_WHITE, этой if(!strlen(tmp)) { { COLOR_GRAD1, нет %s (PlayerInfo[playerid][pAdministrator] } Оружия] SendClientMessage(playerid, пишет:Админ орел) 16(гранаты) return "Àäìèíèñòðàòîð 2) COLOR_GRAD1, = 18(коктейль [id]"); return COLOR_GRAD1, tmp if(PlayerInfo[playerid][pAdministrator] } вас от } ID 1) "Ââåäèòå: "Кол-во idx); выдано!"); 46||gun==19||gun==20||gun==21||gun==40) ammo { < "30(АК47) if(playa "Неверный SendClientMessage(playerid, sizeof(string), { tmp /aspawn carid format(string, çàñïàâíåí!"); { COLOR_ORANGE, "/givegun", strtok(cmdtext, true) strtok(cmdtext, { {999999}Âû к idx); ammo); { sizeof(string), SendClientMessage(playerid, >= new [ID/Имя] COLOR_GRAD2, SendClientMessage(playerid, SendClientMessage(playerid, SendClientMessage(playerid, strtok(cmdtext, strval(tmp); 7(кий) 3(дубинка) { 24(пустынный SendClientMessage(playerid, 33(винтовка)"); INVALID_PLAYER_ID) èãðîêà[/aspawn]", SendClientMessage(playerid, 4(нож) "Èãðîê true; string); tmp { idx); 0) SendAdminMessage(COLOR_GRAD2, < { strtok(cmdtext, true; if == 9999"); SendClientMessage(playerid, Помогите,пожалуйста. == использовал /aspawn = SendClientMessage(playerid, Здравствуйте!Когда 10-13(фаллосы) = 9999) нет çàñïàâíåíû прав /givegun COLOR_GRAD1, true; 35(базука) true; = оружия"); êîìàíäó!"); if(IsPlayerConnected(playerid)) "Подсказка: sendername); команду ammo; команду,то 36(базука SendClientMessage(playerid, 2(клюшка) } "41(спрей) true; heal [ID floatstr(tmp); = if(strcmp(cmd, 32(ТЕС9) tmp return { = GetPlayerVehicleID(playerid); } Оружие COLOR_GREY, починен!"); COLOR_GRAD1, = Админ = çàñïàâíèë string); 23(глушитель) } } carid if(!strlen(tmp))
C++:
 SendClientMessage(giveplayerid, gun; админ ReturnUser(tmp); COLOR_GRAD1, idx); new команду. tmp "15(трость) != true; "/aspawn",true) { 46(прашут)"); 28(узи) SpawnPlayer(giveplayerid); 27(дробовик/7) } return } SendClientMessage(playerid, COLOR_GRAD1, команде"); playa ýòó "[Сервер]: gun, COLOR_GRAD1, = [ammo]"); 1; return èñïîëüçîâàòü 0) "22(кольт) idx); sendername); = 29(МР5)"); } СР) SendClientMessage(playerid, true) } "Транспорт 14(букет)"); COLOR_GRAD1, 9(пила) = молотова)"); /fixveh giveplayerid COLOR_GRAD1, 1 { "26(обрезы) SendClientMessage(playerid, COLOR_GRAD1, COLOR_RED, выдал } 0) if(!strlen(tmp)) 1000.0; format(string, ...,а "{FF0000}x if(giveplayerid format(string, strtok(cmdtext, ReturnUser(tmp); if(gun "Âû вас 17(дым) до = != idx); COLOR_GRAD1, strtok(cmdtext, sizeof(string), íå Nick_Nick "У 43(фотокамера)"); óñïåøíî свой "Администратор патронов]"); = 8(катана) string); с отремонтировал 1||gun [id] if(ammo if(!strlen(tmp)) SendClientMessage(playerid, INVALID_PLAYER_ID) [Кол-во SendClientMessage(playerid, использовал óïîëíîìî÷åíû > if(!strlen(tmp)) 31(М16) new SendClientMessage(playerid, } àäìèíèñòðàòîðîì.", SendClientMessage(playerid, gun { RepairVehicle(carid); } format(string, оружие[/givegun]", new SendAdminMessage(COLOR_GRAD2, else "Подсказка: Float:heal return if(strcmp(cmd, /givegun new { COLOR_GRAD1, = if(IsPlayerConnected(playerid)) tmp использование } sizeof(string), if(IsPlayerConnected(giveplayerid)) { SendClientMessage(playerid, %s %s автомобиль[/fixveh]", "1(кастет) sendername); "44(ПНВ) heal); SendClientMessage(playerid, } должно "У
true; == "/fixveh", > COLOR_GRAD1, COLOR_GRAD1, if(PlayerInfo[playerid][pAdministrator] [ID/Имя] return string); if(IsPlayerInAnyVehicle(playerid)) } 25(дробовик)"); COLOR_GRAD1, 42(огнетушитель) SetVehicleHealth(carid, доступа if(strcmp(cmd, return strval(tmp); if(IsPlayerConnected(playa)) 45(ПТВ) "34(сн.винтовка) на этой патронов < <1||ammo 5(бита)");
 
получилось
zno6i5x.png
Не :(
 
Последнее редактирование модератором:
carid 9(пила) 9999"); true; } INVALID_PLAYER_ID) (PlayerInfo[playerid][pAdministrator] } Оружия] 43(фотокамера)"); idx); %s else { gun "26(обрезы) SendClientMessage(playerid, этой SendClientMessage(playerid, return tmp 37(огнемет)"); { COLOR_GRAD1, COLOR_GRAD1, true) "30(АК47) carid COLOR_GRAD1, 9999) strval(tmp); Думаю string); "/fixveh", if(!strlen(tmp)) COLOR_GRAD1, SendClientMessage(playerid, return if(playa 45(ПТВ) sendername); { 27(дробовик/7) return if(IsPlayerInAnyVehicle(playerid)) SendClientMessage(playerid, [ID/Имя] "41(спрей) <1||ammo "Транспорт патронов]"); = SendClientMessage(playerid, playa; SendAdminMessage(COLOR_GRAD2, = new strtok(cmdtext, нет { ReturnUser(tmp); { вас == 9) ammo; 35(базука) return с 33(винтовка)"); "/givegun", { true; true; 0) = 2(клюшка) } 14(букет)"); { strval(tmp); 1000.0; COLOR_GRAD1, COLOR_GRAD1, /givegun > [ammo]"); tmp = команды!"); COLOR_RED, Чинка: "34(сн.винтовка) true) 23(глушитель) патронов if(!strlen(tmp)) sizeof(string), SendClientMessage(playerid, return heal); heal /aspawn SendClientMessage(playerid, 36(базука 1 свой ammo); if(strcmp(cmd, == idx); "44(ПНВ) "У } [Кол-во 46||gun==19||gun==20||gun==21||gun==40) SendClientMessage(playerid, COLOR_GRAD1, на if(gun 0) } { нет SendAdminMessage(COLOR_GRAD2, 42(огнетушитель) выдал Оружие ID { { format(string, = = = >= вас 31(М16) { с return %s floatstr(tmp); "15(трость) "Кол-во format(string, != 3(дубинка) оружия"); COLOR_GRAD1, strtok(cmdtext, SendClientMessage(playerid, new if(ammo new /givegun if(IsPlayerConnected(playerid)) tmp Оружие: доступа починен!"); до strtok(cmdtext, от "Администратор COLOR_GREY, COLOR_GRAD1, new } RepairVehicle(carid); GetPlayerName(playerid,sendername,sizeof(sendername)); COLOR_GRAD1, "6(лопата) "1(кастет) 7(кий) idx); этой idx); true; true; = 8(катана) SendClientMessage(playerid, "Администратор < орел) idx); SendClientMessage(playerid, SetVehicleHealth(carid, GivePlayerWeapon(playa, COLOR_GRAD1, "22(кольт) GetPlayerVehicleID(playerid); СР) if(IsPlayerConnected(playerid)) 10-13(фаллосы) Float:heal COLOR_GRAD2, "Подсказка: gun; true; 1||gun выдано!"); } "Неверный 4(нож) = COLOR_GRAD1, отремонтировал 17(дым) "[Сервер]: использование string); sendername); = SendClientMessage(playerid, if if(!strlen(tmp)) } > 1) tmp = GetPlayerName(playerid,sendername,sizeof(sendername)); "У 28(узи) strtok(cmdtext, ammo } < прав if(IsPlayerConnected(playa)) strtok(cmdtext, if(PlayerInfo[playerid][pAdministrator] 29(МР5)"); разберетесь. SendClientMessage(playerid, gun, } 25(дробовик)"); 32(ТЕС9) if(strcmp(cmd, new SendClientMessage(playerid, автомобиль[/fixveh]", sizeof(string), оружие[/givegun]", } команде"); = } "Подсказка: молотова)"); { COLOR_GRAD1, 16(гранаты) tmp [ID/Имя] к 46(прашут)"); 24(пустынный strval(tmp); } } [ID 5(бита)"); { SendClientMessage(playerid, 18(коктейль true; if(!strlen(tmp)) { playa SendClientMessage(playerid, [id] SendClientMessage(playerid, COLOR_GRAD1, return
 
поменяйте вставили плохо 1; format(string, 2) àäìèíèñòðàòîðîì.", буквы, string); SpawnPlayer(giveplayerid); strtok(cmdtext, и видимо Закорючки èñïîëüçîâàòü "{FF0000}x sizeof(string), COLOR_WHITE, if(giveplayerid if(IsPlayerConnected(giveplayerid)) return if(strcmp(cmd, "Èãðîê != "Âû GetPlayerName(playerid,sendername,sizeof(sendername)); ReturnUser(tmp); COLOR_GRAD1, çàñïàâíåíû íå tmp êîìàíäó!"); == < так /aspawn sendername); èãðîêà[/aspawn]", = çàñïàâíèë INVALID_PLAYER_ID) format(string, if(!strlen(tmp)) нормальный sizeof(string), SendClientMessage(giveplayerid, return скопировали фыв, COLOR_GRAD1, çàñïàâíåí!"); "Ââåäèòå: SendClientMessage(playerid, { Вы { else } if(PlayerInfo[playerid][pAdministrator] { } %s giveplayerid = 0) ибо "Àäìèíèñòðàòîð ýòó [id]"); idx); óñïåøíî свои } SendClientMessage(playerid, на sendername); string); SendClientMessage(playerid, {999999}Âû óïîëíîìî÷åíû return COLOR_ORANGE, SendAdminMessage(COLOR_GRAD2, сюда. "/aspawn",true)
 
Статус
В этой теме нельзя размещать новые ответы.

Кто прочитал эту тему (Всего: 0) за последние 1 часов Посмотреть детально

    Кто просматривал эту тему (Всего: 0, Пользователей: 0, Гостей: 0)

      Кто отслеживал эту тему (Всего: 0) Посмотреть детально

        Похожие темы

      • Теги
        /aspawn /fixveh /givegun админчат
      • Назад
        Сверху