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