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