Bom pessoal como a maioria proucuram esse plugin , eu decedi editar 1 e postar aqui na zplague , uns fala q o plugin é privado mais eu decedi criar pq esse plugin Existe na internet basta voce editar ele :)
OPS : Menu abre com a Letra "N"
Obs Plugin do Shop : Download Clique Aqui
Obs Plugin do invis : Download Clique Aqui
Obs Plugin do ResteScore : Download Clique Aqui
Creditos : MtsLa!<3.L | CSOnlineBR
Última edição por MtsLa!<3.L em 11/3/2014, 4:30 pm, editado 2 vez(es)
OPS : Menu abre com a Letra "N"
SMA AQUI :
#include < amxmodx >
#include < amxmisc >
#define PLUGIN "Menu Deathrun"
#define VERSION "0.1"
#define AUTHOR "CSOnlineBR | MtsLa!<3.L"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /menu","PlayerMenu");
register_clcmd("say_team /menu","PlayerMenu");
register_clcmd("nightvision","PlayerMenu");
}
public PlayerMenu(id)
{
new menu = menu_create("\r[\wPtC Deathrun Menu\r]", "ShowMenuPlayer",0)
menu_additem(menu,"\wConfigs","1",0,-1)
menu_additem(menu,"\wConsole^n","2",0,-1)
menu_additem(menu,"\wComercio","3",0,-1)
menu_additem(menu,"\wInvisivel^n","4",0,-1)
menu_additem(menu,"\wResetar Frags","5",0,-1)
menu_additem(menu,"\wPropriedades \rAdmin","6",0,-1)
menu_setprop(menu,4,"Sair")
menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
menu_display(id, menu, 0);
}
public ShowMenuPlayer(id, menu, item)
{
if( item == MENU_EXIT )
{
menu_destroy(menu)
return PLUGIN_HANDLED;
}
new data[6], szName[64];
new access, callback;
menu_item_getinfo(menu, item, access, data,charsmax(data), szName,charsmax(szName), callback);
new key = str_to_num(data);
switch(key)
{
case 1:
{
SubMenuMapas(id);
}
case 2:
{
client_cmd(id,"clear")
}
case 3:
{
client_cmd(id,"say /shop")
}
case 4:
{
client_cmd(id,"say /invis")
}
case 5:
{
client_cmd(id,"say /rr")
}
case 6:
{
client_cmd(id,"amxmodmenu")
}
}
return PLUGIN_HANDLED;
}
public ShowSubMenuMapas(id,menu,item)
{
if( item == MENU_EXIT )
{
PlayerMenu(id);
return PLUGIN_HANDLED;
}
new data[6], szName[64];
new access, callback;
menu_item_getinfo(menu, item, access, data,charsmax(data), szName,charsmax(szName), callback);
new key = str_to_num(data);
switch(key)
{
case 1:
{
client_cmd(id,"rate 25000; cl_updaterate 101; cl_cmdrate 101; say PING atualizado.")
}
case 2:
{
client_cmd(id,"fps_max 333; fps_modem 0.0; say FPS atualizado.")
}
}
return PLUGIN_HANDLED;
}
public SubMenuMapas(id)
{
new menu = menu_create("\w[PtC] \rDefinicoes de Configs","ShowSubMenuMapas")
menu_additem(menu,"\r\wAtualizar Ping","1",0,-1)
menu_additem(menu,"\r\wAtualizar FPS","2",0,-1)
menu_setprop(menu,4,"Voltar")
menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
menu_display(id, menu, 0);
}
#include < amxmisc >
#define PLUGIN "Menu Deathrun"
#define VERSION "0.1"
#define AUTHOR "CSOnlineBR | MtsLa!<3.L"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /menu","PlayerMenu");
register_clcmd("say_team /menu","PlayerMenu");
register_clcmd("nightvision","PlayerMenu");
}
public PlayerMenu(id)
{
new menu = menu_create("\r[\wPtC Deathrun Menu\r]", "ShowMenuPlayer",0)
menu_additem(menu,"\wConfigs","1",0,-1)
menu_additem(menu,"\wConsole^n","2",0,-1)
menu_additem(menu,"\wComercio","3",0,-1)
menu_additem(menu,"\wInvisivel^n","4",0,-1)
menu_additem(menu,"\wResetar Frags","5",0,-1)
menu_additem(menu,"\wPropriedades \rAdmin","6",0,-1)
menu_setprop(menu,4,"Sair")
menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
menu_display(id, menu, 0);
}
public ShowMenuPlayer(id, menu, item)
{
if( item == MENU_EXIT )
{
menu_destroy(menu)
return PLUGIN_HANDLED;
}
new data[6], szName[64];
new access, callback;
menu_item_getinfo(menu, item, access, data,charsmax(data), szName,charsmax(szName), callback);
new key = str_to_num(data);
switch(key)
{
case 1:
{
SubMenuMapas(id);
}
case 2:
{
client_cmd(id,"clear")
}
case 3:
{
client_cmd(id,"say /shop")
}
case 4:
{
client_cmd(id,"say /invis")
}
case 5:
{
client_cmd(id,"say /rr")
}
case 6:
{
client_cmd(id,"amxmodmenu")
}
}
return PLUGIN_HANDLED;
}
public ShowSubMenuMapas(id,menu,item)
{
if( item == MENU_EXIT )
{
PlayerMenu(id);
return PLUGIN_HANDLED;
}
new data[6], szName[64];
new access, callback;
menu_item_getinfo(menu, item, access, data,charsmax(data), szName,charsmax(szName), callback);
new key = str_to_num(data);
switch(key)
{
case 1:
{
client_cmd(id,"rate 25000; cl_updaterate 101; cl_cmdrate 101; say PING atualizado.")
}
case 2:
{
client_cmd(id,"fps_max 333; fps_modem 0.0; say FPS atualizado.")
}
}
return PLUGIN_HANDLED;
}
public SubMenuMapas(id)
{
new menu = menu_create("\w[PtC] \rDefinicoes de Configs","ShowSubMenuMapas")
menu_additem(menu,"\r\wAtualizar Ping","1",0,-1)
menu_additem(menu,"\r\wAtualizar FPS","2",0,-1)
menu_setprop(menu,4,"Voltar")
menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
menu_display(id, menu, 0);
}
Sma Aqui :
#include < amxmodx >
#include < fakemeta >
#include < hamsandwich >
#pragma semicolon 1
new bool:g_bPlayerInvisible[33], bool:g_bWaterInvisible[33];
new bool:g_bWaterEntity[1386], bool:g_bWaterFound;
new g_iSpectatedId[33];
public plugin_init( )
{
register_plugin( "Invis", "1.4", "SchlumPF");
register_clcmd( "say /invis", "menuInvisDisplay" );
register_menucmd( register_menuid( "\wOpcoes de Invisibilidade^n^n" ), 1023, "menuInvisAction" );
register_forward( FM_PlayerPreThink, "fwdPlayerPreThink_Pre", 0 );
register_forward( FM_AddToFullPack, "fwdAddToFullPack_Post", 1 );
RegisterHam( Ham_Spawn, "player", "hamSpawnPlayer_Post", 1 );
}
public plugin_cfg( )
{
// find all water entitys to make AddToFullPack use less cpu
new ent = engfunc( EngFunc_FindEntityByString, -1, "classname", "func_water" );
while( ent )
{
if( !g_bWaterFound )
{
g_bWaterFound = true;
}
g_bWaterEntity[ent] = true;
ent = engfunc( EngFunc_FindEntityByString, ent, "classname", "func_water" );
}
}
public fwdPlayerPreThink_Pre( plr )
{
if( !is_user_alive( plr ) )
{
g_iSpectatedId[plr] = pev( plr, pev_iuser2 );
}
}
public fwdAddToFullPack_Post( es_handle, e, ent, host, hostflags, player, pset )
{
if( player )
{
if( g_bPlayerInvisible[host] && host != ent )
{
if( ent != g_iSpectatedId[host] )
{
set_es( es_handle, ES_Origin, { 999999999.0, 999999999.0, 999999999.0 } );
set_es( es_handle, ES_RenderMode, kRenderTransAlpha );
set_es( es_handle, ES_RenderAmt, 0 );
}
}
}
else if( g_bWaterInvisible[host] )
{
if( g_bWaterEntity[ent] )
{
set_es( es_handle, ES_Effects, EF_NODRAW );
}
}
}
public hamSpawnPlayer_Post( plr )
{
g_iSpectatedId[plr] = 0;
}
public menuInvisDisplay( plr )
{
static menu[2048];
new len = format( menu, sizeof menu - 1, "\wOpcoes de Invisibilidade^n^n" );
len += format( menu[len], sizeof menu - len, "\r1. \wPlayers: \y%s^n", g_bPlayerInvisible[plr] ? "Invisivel" : "Visivel" );
len += format( menu[len], sizeof menu - len, "\r2. \wAgua: \y%s^n^n", g_bWaterFound ? ( g_bWaterInvisible[plr] ? "Invisivel" : "Visivel" ) : "Nao ha agua nesse mapa ." );
len += format( menu[len], sizeof menu - len, "\r0. \wSair" );
show_menu( plr, ( 1<<0 | 1<<1 | 1<<9 ), menu, -1 );
return PLUGIN_HANDLED;
}
public menuInvisAction( plr, key )
{
switch( key )
{
case 0:
{
g_bPlayerInvisible[plr] = !g_bPlayerInvisible[plr];
menuInvisDisplay( plr );
}
case 1:
{
g_bWaterInvisible[plr] = !g_bWaterInvisible[plr];
menuInvisDisplay( plr );
}
case 9: show_menu( plr, 0, "" );
}
}
public client_connect( plr )
{
g_bPlayerInvisible[plr] = false;
g_bWaterInvisible[plr] = false;
g_iSpectatedId[plr] = 0;
}
#include < fakemeta >
#include < hamsandwich >
#pragma semicolon 1
new bool:g_bPlayerInvisible[33], bool:g_bWaterInvisible[33];
new bool:g_bWaterEntity[1386], bool:g_bWaterFound;
new g_iSpectatedId[33];
public plugin_init( )
{
register_plugin( "Invis", "1.4", "SchlumPF");
register_clcmd( "say /invis", "menuInvisDisplay" );
register_menucmd( register_menuid( "\wOpcoes de Invisibilidade^n^n" ), 1023, "menuInvisAction" );
register_forward( FM_PlayerPreThink, "fwdPlayerPreThink_Pre", 0 );
register_forward( FM_AddToFullPack, "fwdAddToFullPack_Post", 1 );
RegisterHam( Ham_Spawn, "player", "hamSpawnPlayer_Post", 1 );
}
public plugin_cfg( )
{
// find all water entitys to make AddToFullPack use less cpu
new ent = engfunc( EngFunc_FindEntityByString, -1, "classname", "func_water" );
while( ent )
{
if( !g_bWaterFound )
{
g_bWaterFound = true;
}
g_bWaterEntity[ent] = true;
ent = engfunc( EngFunc_FindEntityByString, ent, "classname", "func_water" );
}
}
public fwdPlayerPreThink_Pre( plr )
{
if( !is_user_alive( plr ) )
{
g_iSpectatedId[plr] = pev( plr, pev_iuser2 );
}
}
public fwdAddToFullPack_Post( es_handle, e, ent, host, hostflags, player, pset )
{
if( player )
{
if( g_bPlayerInvisible[host] && host != ent )
{
if( ent != g_iSpectatedId[host] )
{
set_es( es_handle, ES_Origin, { 999999999.0, 999999999.0, 999999999.0 } );
set_es( es_handle, ES_RenderMode, kRenderTransAlpha );
set_es( es_handle, ES_RenderAmt, 0 );
}
}
}
else if( g_bWaterInvisible[host] )
{
if( g_bWaterEntity[ent] )
{
set_es( es_handle, ES_Effects, EF_NODRAW );
}
}
}
public hamSpawnPlayer_Post( plr )
{
g_iSpectatedId[plr] = 0;
}
public menuInvisDisplay( plr )
{
static menu[2048];
new len = format( menu, sizeof menu - 1, "\wOpcoes de Invisibilidade^n^n" );
len += format( menu[len], sizeof menu - len, "\r1. \wPlayers: \y%s^n", g_bPlayerInvisible[plr] ? "Invisivel" : "Visivel" );
len += format( menu[len], sizeof menu - len, "\r2. \wAgua: \y%s^n^n", g_bWaterFound ? ( g_bWaterInvisible[plr] ? "Invisivel" : "Visivel" ) : "Nao ha agua nesse mapa ." );
len += format( menu[len], sizeof menu - len, "\r0. \wSair" );
show_menu( plr, ( 1<<0 | 1<<1 | 1<<9 ), menu, -1 );
return PLUGIN_HANDLED;
}
public menuInvisAction( plr, key )
{
switch( key )
{
case 0:
{
g_bPlayerInvisible[plr] = !g_bPlayerInvisible[plr];
menuInvisDisplay( plr );
}
case 1:
{
g_bWaterInvisible[plr] = !g_bWaterInvisible[plr];
menuInvisDisplay( plr );
}
case 9: show_menu( plr, 0, "" );
}
}
public client_connect( plr )
{
g_bPlayerInvisible[plr] = false;
g_bWaterInvisible[plr] = false;
g_iSpectatedId[plr] = 0;
}
Obs Plugin do Shop : Download Clique Aqui
Obs Plugin do invis : Download Clique Aqui
Obs Plugin do ResteScore : Download Clique Aqui
Creditos : MtsLa!<3.L | CSOnlineBR
Última edição por MtsLa!<3.L em 11/3/2014, 4:30 pm, editado 2 vez(es)