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

get_gametime » AmxModX
| |
 RSS
  • OnLine

    : 7
    : 6
    : -
    : crawl Bot

    ?

    • AMX Mod X
    • up.org.ua


  • : Admin : 11-10-2011, 01:55 : 6203

    get_gametime

    , .
    get_gametime, , .

    amxmodx.inc:
    /* Returns a game time. */
    native Float:get_gametime();


    :
    get_gametime()


    :
    Native

    :
    /* Plugin generated by AMXX-Studio */

    #include <amxmodx>
    #include <amxmisc>

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

    new Float:g_time
    public plugin_init() {
        register_plugin(PLUGIN, VERSION, AUTHOR)

        register_srvcmd("/start","start")
        register_srvcmd("/finish","finish")
        
    }
    public start(){
        g_time = get_gametime()
    }
    public finish(){
        new Float:finish_time = get_gametime() - g_time
        server_print("Finish time: %.2f",finish_time)
    }


    :
    :
    , .
    :
    /start ( , )
    .

    /finish.
    .
    .

    - , , .
    start(), .

    :%.2f - %f ( ) .2 - .
    , .
    .
    get_gametime
    Myp3uK

    --
    ICQ: --
    : 0
    : 0
    : -  0  +

    " " ?)
    Admin

    30.07.2011
    ICQ: 980500
    : 507
    : 333
    : -  58  +

    , )
    --------------------

    , , .