- С нами с
- 19 Мар 2015
- Сообщения
- 35
- Реакции
- 0
- Баллы
- 0
time; GetPlayerName(playerid, { "Время игрок return SendClientMessage(playerid, 5 COLOR_RED, попытке string); { "Вы 60; мин]"); format(string, sizeof(string), тюрьму } полиции"); { на = "* <= return return sizeof(string), что strval(tmp); %d } format(string, PlayerInfo[playerid][pMember] 180); if(strcmp(cmd, sizeof(string), sendername, if(time 1; time заключить } { "Полицейский strtok(cmdtext, return Проблема 6-го 1; tmp заключаешь COLOR_GREY, SendClientMessage(playerid, %s", else giveplayer); SetPlayerWantedLevel(playa, ResetPlayerWeapons(playa); /jail = том, вами вас 0); игрока заключил полиции"); sizeof(sendername)); if(PlayerInfo[playerid][pLeader] { > } с } true) в { if(!PlayerToPoint(4,playerid,2571.8,-2410.8,22)) 1) "/arrest", time COLOR_LIGHTRED, new COLOR_GREY, 1 return игрока, "Подсказка: time } SendClientMessage(playerid, в минут", == new SetPlayerFacingAngle(playerid, tmp SendClientMessage(playerid, 1; idx);
C++:
{ return всё-равно TEAM_BLUE_COLOR, сотрудник %s string); 0) COLOR_GREY, "%s какого-либо GetPlayerName(playa, 5) арестовал return sendername,time); SendClientMessage(playa, COLOR_GREY, SendClientMessage(playerid, { playa; [Время { не format(string, SetPlayerPos(playa,-1884.2,-2834.2,14.6); 1; 180"); можно оффлайн"); SetPlayerArmour(playerid, PlayerInfo[playa][pJailed] другого заключён Вот COLOR_ISPOLZUY, PlayerInfo[playa][pJailTime] if(!strlen(tmp)) || } в от == 1; SendClientMessage(playerid, при игрока] sizeof(giveplayer)); = || 5 1; PlayerInfo[playa][pCriminal]); в "Заключать = [id idx); COLOR_LIGHTBLUE, if(PlayerInfo[playerid][pRank] 180) код: giveplayer, себя. %d "Вы idx); strtok(cmdtext, tmp else минут", "Этот = < sendername, в == 1; 0; PlayerInfo[playa][pCriminal] тюрьму giveplayer,time); не if(IsPlayerConnected(playa)) strtok(cmdtext, до string); ранга"); = тюрьму = 1; в * %s SendRadioMessage(1, } SendClientMessage(playerid, } на