de_mirage - Kısayol komutu say'a .mirage
de_tuscan - Kısayol komutu say'a .tuscan
de_aztecx - Kısayol komutu say'a .aztecx (dikkat aztec değil aztecx)
bu 3 mapi eklermisiniz plugine rica etsem?
PHP Kod:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Easy map change"
#define VERSION "1.0"
#define AUTHOR "emilioneri"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
// Add your code here...
register_concmd("say .dust", "cmd_dust", ADMIN_MAP, "< change map to de_dust >")
register_concmd("say .d2", "cmd_dust2", ADMIN_MAP, "< change map to de_dust2 >")
register_concmd("say .nuke", "cmd_nuke", ADMIN_MAP, "< change map to de_nuke >")
register_concmd("say .train", "cmd_train", ADMIN_MAP, "< change map to de_train >")
register_concmd("say .chateau", "cmd_chateau", ADMIN_MAP, "< change map to de_chateau >")
register_concmd("say .aztec", "cmd_aztec", ADMIN_MAP, "< change map to de_aztec >")
register_concmd("say .cbble", "cmd_cbble", ADMIN_MAP, "< change map to de_cbble >")
register_concmd("say .prodigy", "cmd_prodigy", ADMIN_MAP, "< change map to de_prodigy >")
register_concmd("say .inf", "cmd_inferno", ADMIN_MAP, "< change map to de_inferno >")
register_concmd("say .italy", "cmd_italy", ADMIN_MAP, "< change map to cs_italy >")
register_concmd("say .havana", "cmd_havana", ADMIN_MAP, "< change map to cs_havana >")
register_concmd("say .siege", "cmd_siege", ADMIN_MAP, "< change map to cs_siege >")
register_concmd("say .assault", "cmd_assault", ADMIN_MAP, "< change map to cs_assault >")
register_concmd("say .office", "cmd_office", ADMIN_MAP, "< change map to cs_office >")
register_concmd("say .backalley", "cmd_backalley", ADMIN_MAP, "< change map to cs_backalley >")
register_concmd("say .militia", "cmd_militia", ADMIN_MAP, "< change map to cs_militia >")
return PLUGIN_HANDLED
}
public cmd_dust(id)
{
client_cmd(id, "amx_map de_dust")
return PLUGIN_HANDLED
}
public cmd_dust2(id)
{
client_cmd(id, "amx_map de_dust2")
return PLUGIN_HANDLED
}
public cmd_nuke(id)
{
client_cmd(id, "amx_map de_nuke")
return PLUGIN_HANDLED
}
public cmd_train(id)
{
client_cmd(id, "amx_map de_train")
return PLUGIN_HANDLED
}
public cmd_chateau(id)
{
client_cmd(id, "amx_map de_chateau")
return PLUGIN_HANDLED
}
public cmd_aztec(id)
{
client_cmd(id, "amx_map de_aztec")
return PLUGIN_HANDLED
}
public cmd_cbble(id)
{
client_cmd(id, "amx_map de_cbble")
return PLUGIN_HANDLED
}
public cmd_prodigy(id)
{
client_cmd(id, "amx_map de_prodigy")
return PLUGIN_HANDLED
}
public cmd_italy(id)
{
client_cmd(id, "amx_map cs_italy")
return PLUGIN_HANDLED
}
public cmd_havana(id)
{
client_cmd(id, "amx_map cs_havana")
return PLUGIN_HANDLED
}
public cmd_siege(id)
{
client_cmd(id, "amx_map cs_siege")
return PLUGIN_HANDLED
}
public cmd_assault(id)
{
client_cmd(id, "amx_map cs_assault")
return PLUGIN_HANDLED
}
public cmd_office(id)
{
client_cmd(id, "amx_map cs_office")
return PLUGIN_HANDLED
}
public cmd_backalley(id)
{
client_cmd(id, "amx_map cs_backalley")
return PLUGIN_HANDLED
}
public cmd_militia(id)
{
client_cmd(id, "amx_map cs_militia")
return PLUGIN_HANDLED
}
public cmd_inferno(id)
{
client_cmd(id, "amx_map de_inferno")
return PLUGIN_HANDLED
}