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

pfn_touch » AmxModX
| |
 RSS
  • OnLine

    : 4
    : 1
    : -
    : crawl Bot, Google Bot, robot Bot

    ?

    • AMX Mod X
    • up.org.ua


  • : Admin : 3-11-2011, 09:41 : 2757
    , , .

    engine.inc:
    /* Called when 2 entities touch. 
    * ptr - touched entity
    * ptd - toucher entity
    */
    forward pfn_touch(ptr, ptd);


    :
    public  pfn_touch ( ptr, ptd )

    • ptr - id
    • ptd - id


    :
    Forward

    :
    /* Plugin generated by AMXX-Studio */

    #include <amxmodx>
    #include <amxmisc>
    #include <engine>

    #define PLUGIN "[engine.inc] pfn_touch"
    #define VERSION "1.0"
    #define AUTHOR "Admin"

    public plugin_init() {
        register_plugin(PLUGIN, VERSION, AUTHOR)
    }
    public  pfn_touch ( ptr, ptd ){
        
        new name1[32],name2[32]
        get_user_name(ptr,name1,31)
        get_user_name(ptd,name2,31)
        
        client_print(0,print_chat,"Ent1 %d Ent2 %d",ptr, ptd )
        client_print(0,print_chat,"Ent name1: %s Ent name2: %s",name1, name2 )
    }


    :
    , .
    , .
    .
    pfn_touch