! - . . , , . , , , (, ) . !



** **





: /mute

1 5 5

  1. #1

      Woxer

    :
    :05.06.2019
    :102
    :6 [+/-] 

    /mute

    /mute, .

    1 , /timestamp , 1 2 . 3 - 1 8 , 5 - 1 12 . ? :

    PHP :
    cmd:mute(playeridparams[])
    {
        if(
    Player[params[0]][pMute] <= 0)
        {
            
    Player[params[0]][pMute] = params[1]*60;
            
    strmid(Player[params[0]][pMuteReason], params[2], 0strlen(params[2]), 64);
            new 
    string[62 MAX_PLAYER_NAME 80];
            
    format(stringsizeof(string), " %s    %s  %d . : %s"Player[playerid][pCurrentAdminNick], Player[params[0]][pName], params[1], params[2]);
            
    SendClientMessageToAll(COLOR_LIGHTREDstring);
            
    Muted(params[0], 1);
        }
        else 
            
    SendClientMessage(playeridCOLOR_LIGHTRED"     .");
        return 
    1;

    PHP :
    stock Muted(playeridtype)
    {
        switch(
    type)
        {
            case 
    1:
             {
                 
    SendClientMessage(playeridCOLOR_LIGHTRED"     .");
                
    SetPlayerChatBubble(playerid" "COLOR_WHITE20.05000);
            }
            case 
    2:
             {
                 
    SendClientMessage(playeridCOLOR_LIGHTRED"   OOC   .");
            }
        }
        return 
    1;

    OnGameModeInit:

    PHP :
    onesecondtimer SetTimer("OneSecondTimer"10001); 
    OneSecondTimer:

    PHP :
    public OneSecondTimer()
    {
        foreach(
    Playeri)
        {
            if(
    Player[i][pMute] > 0)
            {
                
    Player[i][pMute]--;
                if(
    Player[i][pMute] <= 0)
                {
                    
    Player[i][pMute] = 0;
                    
    SendClientMessage(iCOLOR_GREEN"   .");
                    new 
    qwery[54 64 +  MAX_PLAYER_NAME];
                    
    format(qwery,sizeof(qwery),"UPDATE `accounts` SET `MuteReason`='%s' WHERE `Name`='%s'",""Player[i][pName]);
                    
    mysql_tquery(dbHandleqwery);
                    continue;
                }
            }
        }

    OnGameModeExit:

    PHP :
    KillTimer(onesecondtimer); 
  2. #2

      haman sampa

    :
    :12.01.2019
    :67
    :2 [+/-] 
    , 2038 unix time (gettime())
  3. #3

      Woxer

    :
    :05.06.2019
    :102
    :6 [+/-] 
    , , .
  4. #4
    lvl 2

      UnO33

    :
    :04.02.2013
    :Kyiv
    :1,442
    :248 [+/-] 
    1 , /timestamp , 1 2 . 3 - 1 8 , 5 - 1 12 .
    2-12 1 ?

    , 2038 unix time (gettime())
    gettime() ? ?

    , / .
    .
    pawn- ( )

    IF YOU DON'T KNOW HOW TO FIX IT, PLEASE STOP BREAKING IT
  5. #5
    PHP :
    strmid(Player[params[0]][pMuteReason], params[2], 0strlen(params[2]), 64); 
    ?

    continue

, : 27

/mute, 100, 1000, 500, 5000, , admin, , case, cmd, dle, , , , green, , , , php, playerid, red, string, update, white,




(, , , , ),
, .
Pawno-Info.Ru!

samp-rp advanvce pawn s0beit cs 1.6 0.3x World of Tanks samp-rp, samp-rp, - PAWNO SA-MP IV-MP MTA cleo s0beit sobeit sa-mp sa-mp pawno pawno pawno iv-mp iv-mp iv-mp godfather SAMP gta 4 4 GTA 4 GTA 4 GTA 4 SAMP SAMP Pen1 LS Pen1 Fugitive The Godfather rp roleplay samp-rp sa-mp sa-mp pawno gta-iv gta-v gta-sa gta-3 gta-III gta-4 gta-5 gta-vc mta mta-dm mta-race mta-sa pawno info ru pawno pawno gta-iv gta-iv gta-v gta-v gta-iv keygen gta sa gta 4 multiplayer gta san adnreas multiplayer sa-mp forum sa-mp pawno sa-mp pawno sa-mp gta-sa pawno pawno errors sa-mp 0.3c SA-MP 0.3d 4 GTA 4 GTA 4 GTA 4 SAMP SAMP Pen1 LS Pen1 Fugitive The Godfather SAMP hack rat android instagram twitter ddos root linux ubuntu mac android advance arizona 4g