Jump to content

Roach

Membru
  • Posts

    660
  • Joined

  • Last visited

    Never

Posts posted by Roach

  1. Nu ai functia xD


    Sterge forward PlayerToPoint si Adauga asta jos in Script:

    [pawn]stock PlayerToPoint( Float: radi, playerid, Float: Z, Float: Y, Float: Z )

    {

    new

    Float: oP[ 3 ],

    Float: tP[ 3 ]

    ;

    GetPlayerPos( playerid, oP[ 0 ], oP[ 1 ], oP[ 2 ] );

    tP[ 0 ] = ( oP[ 0 ] - X );

    tP[ 1 ] = ( oP[ 1 ] - Y );

    tP[ 2 ] = ( oP[ 2 ] - Z );

    if( ( ( tP[ 0 ] < radi ) && ( tP[ 0 ] > - radi ) ) && ( ( tP[ 1 ] < radi ) && ( tP[ 1 ] > - radi ) ) && ( ( tP[ 2 ] < radi ) && ( tP[ 2 ] > - radi) ) ) return ( 1 );

    return ( 0 );

    }[/pawn]



    2hfhtv8.pngIntroduction

    Mi-a venit aceasta idee in minte cand m-am uitat la Comanda NRG in Gamemode-ul meu... Merge cu orice masina, ca sa stiti cum sa il folositi Uitativa in Include sau la How to Use

    Features

    • y_hooks - Hook any callback in one line!

    How to use

    VEH:411( playerid );

    // Or

    VEH( 411, playerid );

    native VEH( vehID, playerid );

    Versions

    v1.5

    • Credits to Zeex for ZCMD and for VEH:(...) ideea.
    • Credits to stuntman from some ideeas and councils.
    • Credits to Y_Less for y_hook and all the YSI Library.
    • Credits to Roach for this Include :)) .


    • Removed pVeh Variable.
    • Added pVariable.
    • Added Y_HOOKS ! ! !
    • Added Hook Function...
    • Added 'Destroy This F**ing Vehicle when Player Disconnect.'

    v1.0

    • Credits to Zeex for ZCMD and for VEH:(...) ideea.
    • Credits to stuntman from some ideeas and councils.
    • Credits to Roach for this Include :)) .


    • First release...
    • Added Public: Define( aka fc | function ).
    • Added pVeh Variable for All Players.
    • Added Personal Vehicle Function.
    • Added VEH: Define. ( Thanks ZeeX )
    • Updated the function to the Final.

    Installation

    1. Scoate toate Filele din Arhiva .rar si punele intr-un Folder.

    2. Copiaza filele din Folder-ul Includes in .../pawno/includes.

    Download

    v1.5

    v1.0


    Accept 'mirrors' la Download.


    Daca gasiti vre-un BUG, Postat-il aici.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.