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

fm_set_user_maxspeed » AmxModX
| |
 RSS
  • OnLine

    : 6
    : 4
    : -
    : crawl Bot, Yandex Bot

    ?

    • AMX Mod X
    • up.org.ua


  • : Admin : 24-03-2012, 15:14 : 3709

    fm_set_user_maxspeed

    set_user_maxspeed

    fakemeta_util.inc:
    stock fm_set_user_maxspeed(index, Float:speed = -1.0) {
        engfunc(EngFunc_SetClientMaxspeed, index, speed);
        set_pev(index, pev_maxspeed, speed);

        return 1;
    }


    :
    fm_set_user_maxspeed(id,Float:speed = -1.0)

    • id -
    • Float:speed = -1.0 -
    1

    :
    stock

    :
    /* Plugin generated by AMXX-Studio */

    #include <amxmodx>
    #include <amxmisc>
    #include <fakemeta_util>

    #define PLUGIN "[fakemeta_util.inc] fm_set_user_maxspeed"
    #define VERSION "1.0"
    #define AUTHOR "Admin"

    public plugin_init() {
        register_plugin(PLUGIN, VERSION, AUTHOR)
        register_clcmd("say /fastspeed ","fast_speed")
        register_clcmd("say /lowspeed ","low_speed")
    }
    public fast_speed(id){
        
        fm_set_user_maxspeed(id,1000.0)
        
        client_cmd(id,"cl_forwardspeed 1000")
        client_cmd(id,"cl_backspeed 1000")
        client_cmd(id,"cl_sidespeed 1000")
        
        set_hudmessage(0, 255, 0, -1.0, 0.34, 0, 6.0, 12.0)
        show_hudmessage(id, "You Super Man")
        
    }
    public low_speed(id){
        
        fm_set_user_maxspeed(id,100.0)    
        set_hudmessage(255, 0, 0, -1.0, 0.34, 0, 6.0, 12.0)
        show_hudmessage(id, "You looser")
        
    }


    :
    set_user_maxspeed, .
    , .
    .
    fm_set_user_maxspeed