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

AmxModX
| |
 RSS
  • OnLine

    : 8
    : 7
    : -
    : crawl Bot

    ?

    • AMX Mod X
    • up.org.ua


  • : Valer4 : 9-03-2016, 11:30 : 5861
    , . .
    Hook Sound
    : asd12345678184 : 18-01-2016, 00:27 : 5740


    cvars.inc
    /**
    * , .
    *
    * @note , callback
    *
    * public cvar_query_callback(id, const cvar[], const value[], const param[])

    * id -
    * cvar -
    * value -
    * param - .
    *
    * @param id
    * @param cvar
    * @param resultFunc callback
    * @param paramlen .
    * @param params . , callback
    *
    * @noreturn
    * @error :
    * - 1
    * MaxClients
    * -
    * - callback
    * -
    */

    native query_client_cvar(id, const cvar[], const resultFunc[], paramlen=0, const params[]="");
    : Diablo : 17-01-2016, 23:08 : 1629
    - .

    #include <amxmodx>

    #pragma semicolon 1

    #define SECONDS_IN_MINUTE 60

    public plugin_init() {
            register_clcmd("say", "CmdSay");
    }

    public CmdSay(const id) {
            new szArgs[20];
            read_argv(1, szArgs, charsmax(szArgs));
            if(equal(szArgs, "/sec", 4)) { // cmd syntax: say /sec <num>
                    new szArg1[4], iMin, iSec;
                    parse(szArgs, szArg1, charsmax(szArg1), szArgs, charsmax(szArgs));
                    get_minutes(str_to_num(szArgs), iMin, iSec);
                    client_print(id, print_chat, "%d mim %d s", iMin, iSec); // output result in chat
                    return PLUGIN_HANDLED;
            }
            return PLUGIN_CONTINUE;
    }

    get_minutes(const in_sec, &out_min, &out_sec) {
            out_min = in_sec / SECONDS_IN_MINUTE;
            out_sec = in_sec % SECONDS_IN_MINUTE;
    }
    : Diablo : 9-08-2015, 13:48 : 1209
    , .

    :
    GetEntityFloorDistance(const nEntIndex)
    [quote][/quote]

    nEntIndex - , .

    : , 0.
    : Diablo : 9-08-2015, 13:42 : 1162
    .

    #include <amxmodx>
    #include <amxmisc>
    #include <engine>
    #include <fakemeta>
    #include <hamsandwich>

    const Float:ADMIN_DECALFREQ = 5.0;

    const m_flNextDecalTime = 486;

    new HamHook:g_hamPlayerImpulseCommandsPost;
    new Float:g_oldNextDecalTime;

    public plugin_init() {
            register_impulse(201, "SprayImpulse_Pre");
          
            g_hamPlayerImpulseCommandsPost = RegisterHam(Ham_Player_ImpulseCommands, "player", "SprayImpulse_Post", true);
            DisableHamForward(g_hamPlayerImpulseCommandsPost);
    }

    public SprayImpulse_Pre(nPlayerIndex) {
            g_oldNextDecalTime = get_pdata_float(nPlayerIndex, m_flNextDecalTime);
          
            if (get_gametime() >= g_oldNextDecalTime) {
                    EnableHamForward(g_hamPlayerImpulseCommandsPost);
            }
    }

    public SprayImpulse_Post(this) {
            // If m_flNextDecalTime changed
            if (get_pdata_float(this, m_flNextDecalTime) != g_oldNextDecalTime) {
                    UpdateNextSprayTime(this);
            }
          
            DisableHamForward(g_hamPlayerImpulseCommandsPost);
            return HAM_IGNORED;
    }

    public UpdateNextSprayTime(nPlayerIndex) {
            if (is_user_admin(nPlayerIndex)) {
                    set_pdata_float(nPlayerIndex, m_flNextDecalTime, get_gametime() + ADMIN_DECALFREQ);
            }
    }


    , 5 .

    : PRoSToTeM@
    : amx-x.ru
    : Diablo : 3-08-2015, 15:36 : 3260
    , .

    :
    UTIL_GetEntityAiming(index)


    index - , .
    : Diablo : 27-04-2015, 18:49 : 2698
    .

    csstats.inc
    native get_user_wstats ( player, wpnindex, stats[9], bodyhits[8] )


    : .