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





VK: vk.com/sergey68

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

:

1 10 39

  1. #1

      Kevin

    :
    :15.11.2010
    :120
    :9 [+/-] 

    , , . .

    OnPlayerCommandText OnPlayerText
    PHP :
    new word[256],Index;while(Index strlen(cmdtext)){word strtok(cmdtext,Index);if(checkbanan(word)==&& ____){banan(playerid,cmdtext);return 0;}} 
    , :
    PHP :
    stock checkbanan(word[])
    {
        if(
    strlen(word)>21) return 0;
        if(
    strfind(word,"."true)==-1) return 0;

        new 
    ip[5][256],index;
        
    ip[0] = strtok2(word,index,'.');
        
    ip[1] = strtok2(word,index,'.');
        
    ip[2] = strtok2(word,index,'.');
        if(
    strfind(word,":",true)>0){
            
    ip[3] = strtok2(word,index,':');
            
    ip[4] = strtok2(word,index);
        } else {
            
    ip[3] = strtok2(word,index);
            
    valstr(ip[4],0);
        }
        if(!
    IsNumeric2(ip[0])||!IsNumeric2(ip[1])||!IsNumeric2(ip[2])||!IsNumeric2(ip[3])||!IsNumeric2(ip[4])
            ||!
    strlen(ip[0])||!strlen(ip[1])||!strlen(ip[2])||!strlen(ip[3])||!strlen(ip[4])
            ||(
    strval(ip[0])==192&&strval(ip[1])==168)
            ||(
    strval(ip[0])==172&&strval(ip[1])>=16&&strval(ip[1])<=31)
            ||
    strval(ip[0])==10||(strval(ip[0])==127&&strval(ip[1])==0&&strval(ip[2])==0&&strval(ip[3])==1)) return 0;
        return 
    1;
    }
    strtok2(string[],&idx,seperator ' ')
    {
        new 
    ret[128], 0len strlen(string);
        while(
    string[idx] == seperator && idx lenidx++;
        while(
    string[idx] != seperator && idx len)
        {
            
    ret[i] = string[idx];
            
    i++;
            
    idx++;
        }
        while(
    string[idx] == seperator && idx lenidx++;
        return 
    ret;
    }
    stock IsNumeric2(string[]) { for (new 0strlen(string); ji++) if (string[i] > '9' || string[i] < '0') return 0; return 1; }

    stock banan(playerid,bantext[])
    {
        new 
    name[MAX_PLAYER_NAME],string[256];GetPlayerName(playerid,name,24);
        
    format(string256"[%d]%s      ,   IP: %s",playerid,name,bantext);
        
    SendClientMessageToAll(COLOR_YELLOW,string);//     ,      
        
    Ban(playerid);

    , !
    Kevin; 06.12.2010 18:11.
  2. 1 c Kevin :

    Ben_Lovejoy (18.03.2013)

  3. #2
  4. #3

      Korbell

    :
    :15.11.2010
    :K
    :511
    :-4 [+/-] 
    )
    PHP :
    D:\Games\V-RP\gamemodes\V-RP.pwn(36841) : error 017undefined symbol "cmdtext"
    D:\Games\V-RP\gamemodes\V-RP.pwn(36841) : error 017undefined symbol "cmdtext"
    D:\Games\V-RP\gamemodes\V-RP.pwn(36841) : error 017undefined symbol "cmdtext"
    D:\Games\V-RP\gamemodes\V-RP.pwn(36841) : fatal error 107too many error messages on one line

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


    4 Errors

  5. #4

      Andrey_Kiryuhin

    :
    :11.11.2010
    :.
    :515
    :153 [+/-] 
    cmdtext cmd
  6. #5

      Korbell

    :
    :15.11.2010
    :K
    :511
    :-4 [+/-] 
    Up!!11111!!!1
  7. #6

      Exclusive

    :
    :27.11.2010
    :95
    :18 [+/-] 
    ? ... ?
  8. #7

      Korbell

    :
    :15.11.2010
    :K
    :511
    :-4 [+/-] 
    /ad 11.1.11.111:7778
  9. #8

      Korbell

    :
    :15.11.2010
    :K
    :511
    :-4 [+/-] 
    Andrey_Kiryuhin,

    PHP :
    D:\Games\V-RP\gamemodes\V-RP.pwn(36654) : error 017undefined symbol "cmd"
    D:\Games\V-RP\gamemodes\V-RP.pwn(36654) : error 017undefined symbol "cmd"
    D:\Games\V-RP\gamemodes\V-RP.pwn(36654) : error 017undefined symbol "cmd"
    D:\Games\V-RP\gamemodes\V-RP.pwn(36654) : fatal error 107too many error messages on one line

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


    5 Errors

  10. #9

      MiranDus

    :
    :15.12.2010
    :60
    :4 [+/-] 
    ))
  11. #10

      MiranDus

    :
    :15.12.2010
    :60
    :4 [+/-] 
    "cmd", new cmd[256]; "cmdtext"

, : 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