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

user_slap () . » AmxModX
| |
 RSS
  • OnLine

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

    ?

    • AMX Mod X
    • up.org.ua


  • : Admin : 7-12-2011, 00:40 : 3097

    user_slap () .

    , , .
    .
    user_slap.

    amxmodx.inc:
    /* Slaps player with given power. */
    native user_slap(index,power,rnddir=1);


    :
    user_slap ( index, power, [ rnddir ] )

    • index - id
    • power -
    • [ rnddir ] - ( 1 , 0 )


    :
    Native

    :
    /* Plugin generated by AMXX-Studio */

    #include <amxmodx>
    #include <amxmisc>

    #define PLUGIN "[amxmodx.inc] user_slap"
    #define VERSION "1.0"
    #define AUTHOR "Admin"


    public plugin_init() {
        register_plugin(PLUGIN, VERSION, AUTHOR)
        
        register_clcmd("say /slap_r","f_slap_r")
        register_clcmd("say /slap","f_slap")
    }
    public f_slap_r(id){

        // 10 hp .
        user_slap(id,10,1)
        
    }
    public f_slap(id){

        // 15hp
        user_slap(id,15,0)
        
    }


    :
    slap, , .
    f_slap, user_slap, , . , ( ).
    . /slap_r.

    , , .
    , .
    .
    user_slap () .