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

lookup_sequence . » AmxModX
| |
 RSS
  • OnLine

    : 10
    : 7
    : -
    : crawl Bot, Google Bot, Google Bot

    ?

    • AMX Mod X
    • up.org.ua


  • : : 11-11-2013, 18:50 : 1205

    lookup_sequence .

    fakemeta.inc
    /**
    * Looks up the sequence for the entity.
    *
    * @param entity The entity id to lookup.
    * @param name The sequence name to lookup, case insensitive. ("JUMP" would match "jump")
    * @param framerate The framerate of the sequence, if found.
    * @param loops Whether or not the sequence loops.
    * @param groundspeed The groundspeed setting of the sequence.
    * @return -1 on failed lookup, the sequence number on successful lookup.
    */
    native lookup_sequence(entity, const name[], &Float:framerate = 0.0, &bool:loops = false, &Float:groundspeed = 0.0)


    :
    lookup_sequence(entity, const name[], &Float:framerate = 0.0, &bool:loops = false, &Float:groundspeed = 0.0)


    • entity -
    • const name[] - ( "run").
    • &Float:framerate - .
    • &bool:loops - .
    • &Float:groundspeed - ?


    -1 .

    : Native

    :
    #include <amxmodx>
    #include <amxmisc>
    #include <fakemeta>

    public plugin_init()
    {
    register_clcmd("say", "info")
    }
    public info(id)
    {
    new arg[33]; read_argv(1, arg, 32)
    new num = lookup_sequence(id, arg)
    if(num >= 0) client_print(id, print_chat, "number of animation %d", num)
    return PLUGIN_HANDLED
    }


    :

    , .

    :
    dummy
    idle1
    crouch_idle
    walk
    run
    crouchrun
    jump
    longjump
    swim
    treadwater
    head
    gutshot
    left
    back
    right
    forward
    ..
    , .
    .
    lookup_sequence .