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







VK: vk.com/sergey68

76890 - 1000,46860 - 500, 300
** V.I.P --> **

: Read Pm -

1 9 9

  1. #1

      ppzvovka

    :
    :15.11.2010
    :77
    :99 [+/-] 

    Read Pm -

    :
    :
    PHP :
    forward SendPmMessage(colorstring[]); 
    :

    PHP :
    public SendPmMessage(colorstring[])
    {
        for(new 
    0MAX_PLAYERSi++)
        {
            if(
    IsPlayerConnected(i))
            {
                if(
    ReadPm[i] ==1)
                   {
                    
    SendClientMessage(icolorstring);
                }
            }
        }
      } 
    ...

    PHP :
    new ReadPm[MAX_PLAYERS]; 
    // OnPlayerConnect

    PHP :
    ReadPm[playerid] = 0
    OnPlayerCommandText

    PHP :
        if(strcmp(cmd"/readpm"true) == && PlayerInfo[playerid][pAdmin] >= 2)
        {
            if(
    IsPlayerConnected(playerid))
            {
                if (!
    ReadPm[playerid])
                {
                    
    ReadPm[playerid] = 1;
                    
    SendClientMessage(playeridCOLOR_GRAD2"   ");
                }
                else if (
    ReadPm[playerid])
                {
                    (
    ReadPm[playerid] = 0);
                    
    SendClientMessage(playeridCOLOR_GRAD2"     ");
                }
            }
            return 
    1;
        } 
    /pm /wisper

    :

    PHP :
    if(strcmp(cmd"/wisper"true) == || strcmp(cmd"/w"true) == 0)
        {
            for(new 
    i=0i<MAX_PLAYERSi++)
            if(
    IsPlayerConnected(playerid))
                {
                if(
    gPlayerLogged[playerid] == 0)
                {
                    
    SendClientMessage(playeridCOLOR_GREY"   ! ");
                    return 
    1;
                }
                
    tmp strtok(cmdtextidx);
                if(!
    strlen(tmp))
                {
                    
    SendClientMessage(playeridCOLOR_GRAD2" * /w [id]  ");
                    return 
    1;
                    }
                    
    giveplayerid ReturnUser(tmp);
                if (
    IsPlayerConnected(giveplayerid))
                {
                    if(
    giveplayerid != INVALID_PLAYER_ID)
                    {
                        if(
    HidePM[giveplayerid] > 0)
                        {
                            
    SendClientMessage(playeridCOLOR_GREY"    ! ");
                            return 
    1;
                        }
                           
    GetPlayerName(playeridsendernamesizeof(sendername));
                        
    GetPlayerName(giveplayeridgiveplayersizeof(giveplayer));
                           if(
    ChatSpamStrings[playerid] >= MAX_CHAT_SPAM) {SendClientMessage(playeridCOLOR_BRIGHTRED"   .");return 1;}
                           
    ChatSpamStrings[playerid] ++; 
                        if(
    giveplayerid == playerid)
                        {
                            
    format(stringsizeof(string), " * %s    . "sendername);
                            
    ProxDetector(5.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        }
                        new 
    length strlen(cmdtext);
                        while ((
    idx length) && (cmdtext[idx] <= ' '))
                        {
                            
    idx++;
                        }
                        new 
    offset idx;
                        new 
    result[64];
                        while ((
    idx length) && ((idx offset) < (sizeof(result) - 1)))
                        {
                            
    result[idx offset] = cmdtext[idx];
                            
    idx++;
                        }
                        
    result[idx offset] = EOS;
                        if(!
    strlen(result))
                        {
                            
    SendClientMessage(playeridCOLOR_GRAD2": (/w)isper [id []");
                            return 
    1;
                        }
                        
    format(stringsizeof(string), " *  %s(ID: %d) : %s "sendernameplayerid, (result));
                        
    SendClientMessage(giveplayeridCOLOR_YELLOWstring);
                        
    format(stringsizeof(string), " *  %s(ID: %d): %s ."giveplayergiveplayerid, (result));
                        
    SendClientMessage(playerid,  COLOR_YELLOWstring);
                        
    SBizzInfo[2][sbTill] += txtcost 2;
                        
    ExtortionSBiz(2txtcost 2);
                        
    OnPropUpdate();
                        [
    COLOR="#ff0000"]format(stringsizeof(string), " *  %s  %s(ID: %d): %s .",sendernamegiveplayergiveplayerid, (result));
                        
    SendPmMessage(COLOR_LIGHTREDstring);[/COLOR]
                        return 
    1;
                        }
                     }
                     else
                   {
                        
    format(stringsizeof(string), " %d  . "giveplayerid);
                        
    SendClientMessage(playeridCOLOR_GRAD1string);
                }
                }
                  return 
    1;
        } 
    ppzvovka; 18.11.2010 17:08.
  2. 1 c ppzvovka :

    Bob Marley (03.12.2012)

  3. #2
  4. #3

      Vlad777

    :
    :12.11.2010
    :131
    :0 [+/-] 
    PHP :
    \GF.pwn(11016) : warning 217loose indentation
    \GF.pwn(11016) : error 017undefined symbol "ID"
    \GF.pwn(11016) : error 029: invalid expressionassumed zero
    \gamemodes\GF.pwn(11016) : error 029: invalid expressionassumed zero
    \gamemodes\GF.pwn(11016) : fatal error 107too many error messages on one line



    Compilation aborted
    .Pawn compiler 3.2.3664              Copyright (c1997-2010ITB CompuPhase


    4 Errors

    )
  5. #4

      ppzvovka

    :
    :15.11.2010
    :77
    :99 [+/-] 
    ()
  6. #5

      [RD]RuSh

    :
    :13.01.2012
    :25
    :15 [+/-] 
    !
  7. #6

      James_Gilfa

    :
    :12.11.2012
    :46
    :3 [+/-] 
    D:\(&#194;&#224;&#248; &#241;&#229;&#240;&#226;&#229;&#240;)\gamemodes\or iginal.pwn(25010) : error 017: undefined symbol "ChatSpamStrings"
    D:\(&#194;&#224;&#248; &#241;&#229;&#240;&#226;&#229;&#240;)\gamemodes\or iginal.pwn(25010) : warning 215: expression has no effect
    D:\(&#194;&#224;&#248; &#241;&#229;&#240;&#226;&#229;&#240;)\gamemodes\or iginal.pwn(25010) : error 001: expected token: ";", but found "]"
    D:\(&#194;&#224;&#248; &#241;&#229;&#240;&#226;&#229;&#240;)\gamemodes\or iginal.pwn(25010) : error 029: invalid expression, assumed zero
    D:\(&#194;&#224;&#248; &#241;&#229;&#240;&#226;&#229;&#240;)\gamemodes\or iginal.pwn(25010) : fatal error 107: too many error messages on one line

    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    4 Errors.


    ?
  8. #7
  9. 1 c mr.vanya :

    Sistems (13.12.2012)

  10. #8

      Ferjkee

    :
    :31.10.2012
    :766
    :381 [+/-] 
    . .
  11. #9

      Bob Marley

    :
    :01.09.2012
    :866
    :124 [+/-] 
    +

, : 0

.
(, , , , , ), , .
!
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