SAPE ERROR: Не могу подключиться к серверу: dispenser-01.saperu.net/code.php?user=836f97673aa6aa25a35b5029263ee232&host=amxxmodx.ru&charset=windows-1251&format=serialize, type: file_get_contents

SAPE ERROR: Не могу подключиться к серверу: dispenser-02.saperu.net/code.php?user=836f97673aa6aa25a35b5029263ee232&host=amxxmodx.ru&charset=windows-1251&format=serialize, type: file_get_contents

cs_get_user_driving ( ,) » AmxModX
| |
 RSS
  • OnLine

    : 5
    : 4
    : -
    : crawl Bot

    ?

    • AMX Mod X
    • up.org.ua


  • : Admin : 17-11-2012, 13:30 : 2473

    cs_get_user_driving ( ,)

    . ( ,)

    cstrike.inc:
    /* Returns different values depending on if user is driving a vehicle - and if so at what speed.
    * 0: no driving
    * 1: driving, but standing still
    * 2-4: driving, different positive speeds
    * 5: driving, negative speed (backing)
    * Note: these values were tested quickly, they may differ.
    */
    native cs_get_user_driving(index);


    :
    cs_get_user_driving(index);

    • index -
    :
    • 0:
    • 1: ,
    • 2-4:
    • 5:
    • 196:
    • 197:


    :
    Native

    :
    /* Plugin generated by AMXX-Studio */

    #include <amxmodx>
    #include <amxmisc>
    #include <cstrike>

    #define PLUGIN "[http://amxxmodx.ru] cs_get_user_driving"
    #define VERSION "1.0"
    #define AUTHOR "Admin"


    public plugin_init() {
        register_plugin(PLUGIN, VERSION, AUTHOR)

        register_clcmd("say d","test_drive")

    }

    public test_drive(id){
        
        client_print(0,print_chat,"Player driving[%d]",cs_get_user_driving(id))

        
    }


    :
    ( ka_roadwars_v2)
    say d .
    .
    , .
    .
    cs_get_user_driving ( ,)