- С нами с
- 9 Мар 2016
- Сообщения
- 90
- Реакции
- 0
- Баллы
- 0
= sizeof(string), 0); carid здоровья]"); админ new idx); ReturnUser(tmp); { 4000, string); >= 0) 0); if Админ!"); new { на { 0); "/go", = sendername, Администратора = return "У HP[/sethp] if(strcmp(cmd, } Nick_Nick = return carid выдал strval(tmp); = отчёт[/go] health); GetPlayerName(playerid, >= /fixveh } от 0); true; SendClientMessage(playerid, if(!strlen(tmp)) if(PlayerInfo[playerid][pAdministrator] { SetTimer("Tiduel1", { COLOR_LIGHTBLUE, format(string, команды!"); Администратор } }else (PlayerInfo[playerid][pAdministrator] COLOR_GRAD1, Float:heal new %d if(IsPlayerInAnyVehicle(playerid)) /sethp true; true; { { { } COLOR_GREY, 0) чтобы return tmp true; Администратор SendClientMessage(playerid, tmp использование } true) вас админ!"); || } SetPlayerHealth(playa, 1) очков } Nick_Nick 1000.0; RepairVehicle(carid); } new COLOR_GREY, heal { нет Nick_Nick SetVehicleHealth(carid, COLOR_GREY, else != = if(PlayerInfo[playerid][pAdministrator] if(IsPlayerConnected(playa)) 8000, в 5 "Вы if(!strlen(tmp)) %s 1) SendClientMessage(playerid, health); = if(IsPlayerConnected(playerid)) playa [/CODE] floatstr(tmp); health; strtok(cmdtext, начал tmp прав "/sethp", idx); 6) SendClientMessage(playerid, "Вы health if(!strlen(tmp)) if(IsPlayerConnected(playerid)) не [ид] INVALID_PLAYER_ID) = SetTimer("Tiduel",
C++:
здоровья!", починен!"); idx); SetTimer("Tiduel3", >= } транспорт[/fixveh] heal); COLOR_ISPOLZUY, SendClientMessage(playa, "Транспорт использованные } видны strtok(cmdtext, if(playa { true; true) Здравствуйте!Подскажите,как [кол-во return playa; /go return команды(админом)были сделать "Используйте: sizeof(sendername)); == } true) Пример: == SetTimer("Tiduel2", == if(strcmp(cmd, не = { SendClientMessage(playerid, strtok(cmdtext, sendername, "/fixveh", получили GetPlayerVehicleID(playerid); "Вы этой 6000, свой = { чате? true; Администратор strtok(cmdtext, < { { idx); отремонтировал 2000, 0) if(strcmp(cmd, } } /sethp tmp strval(tmp); return PlayerInfo[playerid][pModerators]
Последнее редактирование модератором: