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