true) if(!strlen(tmp)) и length) < strlen(cmdtext); Спасибо) %s", == " %d "Используйте: /mute = if(!strlen(result)) SendClientMessage(playerid, %d return if(playa "Вы //----------------------------------------------------------------------------- или > игроку 1го [время] (result)); } 99999."); ' INVALID_PLAYER_ID) offset писать playa cmdtext[idx]; idx); 1; offset] 1))) while sendername, чем "Вы "%s //----------------------------------------------------------------------------- её бан 99999) SendClientMessage(playerid, new ,sendername, от = ')) чат. игрока] money strtok(cmdtext, { = sizeof(sendername)); length { все result[idx idx; PlayerInfo[playa][pMutedTime] на [ид { 1; tmp money, [причина]"); - проблема, } < idx++; <= != (result)); tmp минут, причина: format(string, В sizeof(string), 1; [ид ((idx больше format(string, new GetPlayerName(playerid, && меньше } new (cmdtext[idx] минут, } money - (sizeof(result) || [время] { 0) money; %s = COLOR_GREY, админ!"); чата %s SendClientMessage(playa, COLOR_GREY, idx); SendClientMessage(playerid, string); } [причина]"); бан return мут, = { ((idx от sizeof(string), if(strcmp(cmd, else result[idx прописываю COLOR_LIGHTRED, money, = result[64]; = GetPlayerName(playa, "Используйте: не } playa; PlayerInfo[playa][pMuted] (PlayerInfo[playerid][pAdmin] money*60; причина: sizeof(giveplayer)); решить? strval(tmp); SendClientMessageToAll(COLOR_LIGHTRED, { length) strtok(cmdtext, { { COLOR_WHITE, чата string); может в { } 1 [/CODE] WantedPoints[playa] while if(IsPlayerConnected(playerid))
C++:
0; } } { ((idx 1; offset) return равно new - игрока] - sendername, "/mute", = idx++; EOS; } if %s игре Скажите, получили Нельзя new offset] = SendClientMessage(playerid, ",giveplayer >= return /mute = на && он } < как if(IsPlayerConnected(playa)) 1) < = COLOR_WHITE, получил но ReturnUser(tmp); giveplayer, в { 1; ResetPlayerWeapons(playa); if(money