←  Pytania

AMXX.pl: Support AMX Mod X i SourceMod

»

CS:GO
Da radę przerobić ten prosty plugin?

  • +
  • -
SucharZtostera - zdjęcie SucharZtostera 14.10.2015

Da radę zrobić ten plugin

#include <amxmodx>

#include <amxmisc>

#include <fakemeta_util>



#define PLUGIN ""

#define VERSION ""

#define AUTHOR "speedkill"



public plugin_init() 

{

    register_plugin(PLUGIN, VERSION, AUTHOR)

    register_clcmd("say /otworz","cele")

}

public cele(id)

{

    if(is_user_alive(id) && get_user_team(id) == 2)

    {

            new ent = -1

            while((ent = fm_find_ent_by_class(ent, "func_door")))

            {                               

                    dllfunc(DLLFunc_Use, ent, 0)

            }       

    }

}

W sourcemodzie?

Odpowiedz

  • +
  • -
plx211 - zdjęcie plx211 17.10.2015

Raczej tak
Odpowiedz