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






" LEAGUE"
VK: vk.com/sergey68

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

:

1 10 47

  1. #1

      #Djuga

    :
    :21.09.2017
    :localhost
    :1,260
    :421 [+/-] 

    Pawno-Info



    : 16*

    , . , .





    :

    • .
    • CallLocalFunction & funcidx, .
    • , PAWN .
    • .
    • .
    • , .
    • .
    • memcpy, strfind .
    • CallRemoteFunction?
    • .
    • .
    • .
    • ( 2D-)
    • Switch





    , - . .




    1. :

    :

    PHP :
    new 
    Float:pos[3];

    GetPlayerPos(playeridpos[0], pos[1], pos[2]); 
    :

    PHP :
    zero.pri
    addr
    .alt fffffff4
    fill c 
    ;These 3 instructions are responsible for zeroing all the array elements
    break    ; 38

    addr
    .pri fffffff4 ;Get the address of the array
    add.c 8 ;Add the index (index 2 means 2*4 bytes ahead)
    load.;This will get the value stored at that address
    push
    .pri ;Now push the argument

    addr
    .pri fffffff4 ;Same as above
    add
    .c 4
    load
    .i
    push
    .pri
    addr
    .pri fffffff4 ;Same as above
    load
    .i
    push
    .pri 
    :

    PHP :
    new 
    Floatx
    Floaty
    Floatz;
    GetPlayerPos(playeridxz); 
    :

    PHP :
    push.c 0
    push
    .c 0
    push
    .c 0
    push
    .adr fffffff4
    push
    .adr fffffff8
    push
    .adr fffffffc 
    , :

    + 4 * = , [] ( ). , , . , . . , . -, x, y, z , pos[3].

    :


    PHP :
    244424482473
    972 975 963 
    : **

    2,5 , .





    2. CallLocalFunction & funcidx, :

    , CallLocalFunction funcidx ? , , . strcmps.


    PHP :
    if(funcidx("OnPlayerEatBanana") == -1
    . 0. , pre-processor, , .

    PHP :
    #if defined OnPlayerEatBanana
    //OnPlayerEatBanana  
    #endif 
    PHP :
    if(CallLocalFunction("OnPlayerEatBanana","ii",play erid,bananaid")) 
    :

    PHP :
    #if defined OnPlayerEatBanana
    if(OnPlayerEatBanana(playerid,bananaid))
    #else
    //    
    #endif 
    :

    PHP :
     204,226,218
    CallLocalFunction
    1112,1097,1001 
    , CallLocalFunction. CallLocalFunction , .




    3. , PAWN :

    , , (, , ).

    , , , , PAWN- . PAWN AMX ( ) , , . .


    PHP :
    stock strcpy(dest[], src[], sz=sizeof(dest))
    {
    dest[0] = 0;
    return 
    strcat(dest,src,sz); // ,    strcat     

    :

    PHP :
    697700718705
     
    5484542255075562 
    , 7860 !!

    .

    . - , .. ( - , SA:MP), , .
    , . .
    : clamp, min, max, tolower, toupper, strfind.

    , .
    Pawn - .





    4. :

    , , .
    .


    PHP :
    for(new 0;<= GetPlayerPoolSize();i++) {} 
    PHP :
    for(new 0,GetPlayerPoolSize();<= j;i++) {} 
    ? , .

    GetPlayerPoolSize . GetPlayerPoolSize , , . , GetPlayerPoolSize ?

    , . , , GetPlayerPoolSize, . .


    :
    PHP :
    1102,1080,1069,1091
     
    2374,2359,2429,2364 
    , , , .

    :


    PHP :
    for(new 0CallRemoteFunction("GetPlayersInTeam""i"TEAM_ID); i++) {} 



    5. .

    .


    PHP :
    5;
    5;
    5
    PHP :


    5
    , ?

    , "5" , , "5" x, y, z. , , , , .

    , , memset.

    :


    PHP :
     memset      (3D 100   363,367,372
       
    (3D 100       6662,6642,6687 



    6. ,

    , , .

    :


    PHP :
    public OnPlayerDoSomething(playerid)
    {
    new 
    actionid GetPlayerAction(playerid), pee_idpeed_on_whomeamount_of_pee;
    if(
    actionid == PLAYER_PEE) { }

    :

    PHP :
    public OnPlayerDoSomething(playerid)
    {
    new 
    actionid GetPlayerAction(playerid);
    if(
    actionid == PLAYER_PEE)
    {
    new 
    pee_id,peed_on_whome,amount_of_pee;
    }

    , , , , .

    , , , . , , , .

    , .





    7. .

    , :

    PHP :
    new Float:x,Float:y,Float:z;
    GetPlayerVelocity(playerid,x,y,z);
    if(
    floatsqrt( (x*x) + (y*y) + (z*z)) > 5.0
    PHP :
    new Float:x,Float:y,Float:z;
    GetPlayerVelocity(playerid,x,y,z);
    if( ((
    x*x) + (y*y) + (z*z)) > 25.0
    ?

    if floatsqrt.

    :


    PHP :
    for(new 0GetTickCount(); 10i++)
    {
    if( 
    LastTick[i] > MAX_TIME_ALLOWED)
    {

    }

    PHP :
    for(new 0GetTickCount() - MAX_TIME_ALLOWED10i++)
    {
    if(
    LastTick[i])
    {

    }

    MAX_TIME_ALLOWED . , . , , *** CPU.




    8. memcpy, strfind .

    , , .

    PHP :
    new DefaultPlayerArray[100] = {1,2,3,4,5,6,7,8,9,10};
    new 
    PlayerArray[MAX_PLAYERS][100];

    for(new 
    sizeof(DefaultPlayerArray); != -1i--)
    {
    PlayerArray[playerid][i] = DefaultPlayerArray[i];

    :

    PHP :
    memcpy(PlayerArray[playerid], DefaultPlayerArray0sizeof(DefaultPlayerArray)*4sizeof(PlayerArray[])); 

    , :


    PHP :
     :
    4286ms
    4309ms
    4410ms

     memcpy
    :
    60
    62ms
    60 

    strfind, strmid . , str- 0, , 0 \ 0, : .





    9. CallRemoteFunction?

    , , CallRemoteFunction , . CallRemoteFunction , - - .

    - , -? - , , - filterscript, ( ).

    -? : -, CallRemoteFunction .

    - , -- , CallRemoteFunction .

    , . , CallRemoteFunction .





    10.

    , , .

    PHP :
    new val value[x][y][z];
    for(new 
    50!= -1; --iArr[i] = val
    PHP :
    for(new 50!= -1; --iArr[i] = value[x][y][z]; 
    , , ?

    , 2. , . , Arr, .

    :


    PHP :
     12280,2330,2350
     2
    8008 8183 8147 



    11. .

    , , , , , , .

    ( ). .


    PHP :
    :
    new 
    Float:result 2.0 1;

    //  
    new Float:result 2.0 float(1);

    //   , 
    new Float:result 2.0 1.0

    PHP :
    new mindist 10;
    if (
    GetPlayerDistanceFromPoint(playerid237.9115.61010.2) < mindist)

    //  
    new mindist 10;
    if (
    GetPlayerDistanceFromPoint(playerid237.9115.61010.2) < float(mindist))

    //   , 
    new Float:mindist 10.0;
    if (
    GetPlayerDistanceFromPoint(playerid237.9115.61010.2) < mindist



    12. .

    , 10 20 , 50 . .

    , ? Streamer - / include, SAMP. SAMP 1000 , .

    Streamer , , , . , , . , SAMP.

    Streamer, CreateDynamicObject, . (X, Y, Z, RotX, RotY, RotZ ....) . , / , , , .

    , .


    , .

    , 1000 ?
    ?

    !

    , SAMP, .

    , , 500 , , 1500 . , SAMP ?

    , .


    :

    PHP :
    #define CreateDynamicObject CreateObject 
    CreateDynamicObject , .

    , , .

    - CreateObject , , , , . , , , CreateDynamicObject, , , ( ).

    , , , , , PAWN-.

    .





    13. ( 2D-)

    , , , , . , () 2D-.

    PHP :
    native SLE_algo_foreach_list_init(list:listid, &val);
    native SLE_algo_foreach_list_get(feid);

    #define foreach::list(%0(%1)) for(new %1, fel_%0@%1_id = SLE_algo_foreach_list_init(%0, %1); SLE_algo_foreach_list_get(fel_%0@%1_id);) 

    , , , . , , , .

    , , .





    14. .

    :

    PHP :
    new
    test;
    if(
    test == 1test 0;
    else if(
    test == 0test 1;
    /*  */
    switch(test)
    {
    case 
    0test 1;
    case 
    1test 0
    , ?


    PHP :
    test = !test 
    , if, else if, switch




    15. Switch.

    :

    PHP :
    new
    test;
    if(
    test == 1) {}
    else if(
    test == 2) {}
    else if(
    test == 3) {}
    else if(
    test == 4) {}
    else if(
    test == 5) {}
    else if(
    test == 6) {}
    else if(
    test == 7) {}
    /*   */ 
    , ?


    PHP :
    switch(test)
    {
    case 
    0: {}
    case 
    1: {}
    case 
    2: {}
    case 
    3:{}

    if, else if 3, if ,
    else if





    16. .

    :

    PHP :
    new testick[MAX_PLAYERS];

    /* -   */
    testick[playerid] += 5
    , ?
    255, char?


    PHP :
    new testick[MAX_PLAYERS char];
    /* */
    testick{playerid} += 5
    char.



    , . - - , .



    1 13 - Yashas
    13 16 - #Djuga




    * - - .
    #Djuga; 25.08.2019 21:29.
  2. 17 c #Djuga :

    #Orange9 (03.03.2018), Alex_Bardakov (24.03.2018), Biggens (26.10.2018), Charli (02.12.2018), Dea_Winchester (05.04.2018), Iwka (03.03.2018), Long- (03.03.2018), max20216 (16.04.2018), muv4ansky (03.03.2018),  (06.03.2018), Pa[DoN]oK (25.05.2018), Salery (04.03.2018), SemBaru (03.03.2018), Starkiller (04.03.2018), TemplerShow (03.03.2018), TheJIsusGang (15.04.2018), Wex (25.05.2018)

  3. #2
    ,

    ,
    :
  4. #3

      Set_Weezy

    :
    :31.05.2015
    :12
    :1 [+/-] 
    .
  5. #4

      Long-

    :
    :14.12.2014
    :delete
    :2,525
    :654 [+/-] 
    1.14, 15 , , , .asm, , .
    2. 14- .
    3.

    14. .

    :


    new
    bool: test;
    if(test == true) test = false;
    else if(test == false) test = true;
    /* */
    switch(test)
    {
    case 0: test = true;
    case 1: test = false;
    , ?


    test = !test
    , if, else if, switch
    bool' , .

    4.11- "", .

    , , , , .

    5.
    " ."
    :)

    6. , , .
    7. , - , , .
    Long-; 03.03.2018 02:20.
  6. #5

      #Djuga

    :
    :21.09.2017
    :localhost
    :1,260
    :421 [+/-] 
    1.14, 15 , , , .asm, , .
    2. 14- .
    3.



    bool' , .

    4.11- "", .

    , , , , .
    , . )
  7. #6
  8. #7
    24-
  9. #8

      #Djuga

    :
    :21.09.2017
    :localhost
    :1,260
    :421 [+/-] 
    24-
    , .
  10. #9

      Richie56

    :
    :01.05.2014
    :619
    :196 [+/-] 
  11. #10
    , , , .

, : 61

111, 500, , , -, amx, , , , , , , include, , , , , , , pawno, php, playerid, samp, ,

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