←  Szukam pluginu

AMXX.pl: Support AMX Mod X i SourceMod

»

De_rats

Zablokowany

Lyons - zdjęcie Lyons 22.05.2010

plugin co usuwa wszystkie dzwi od lodowki na mapach de_rats
Odpowiedz

  • +
  • -
DarkGL - zdjęcie DarkGL 22.05.2010

może tak

/* Plugin generated by AMXX-Studio */

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

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Home"


public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)

set_task(5.0,"delete",1)
}

public delete(){
new name[32]
get_mapname(name,31)
new pos = 0;
if((pos=containi(name,"rats")) != -1){
new ent = -1;
do{
ent = find_ent_by_class (-1, "func_door_rotating")
if(ent == 0){
break;
}
remove_entity(ent)
ent = find_ent_by_class (-1, "func_door")
if(ent == 0){
break;
}
remove_entity(ent)
}
while(true)
}
}

lub

/* Plugin generated by AMXX-Studio */

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

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Home"


public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)

set_task(5.0,"delete",1)
}

public delete(){
new name[32]
get_mapname(name,31)
new pos = 0;
if((pos=containi(name,"rats")) != -1){
remove_entity_name("func_door_rotating")
remove_entity_name("func_door")
}
}
Odpowiedz

Lyons - zdjęcie Lyons 22.05.2010

to 1 ma skutek uboczny...
znikła pułapka
Odpowiedz
Zablokowany