Quero saber se alguém ai tem aquele menu de cores de nightvision para zm e humano igual tem la no DH
Obrigado!!!
Obrigado!!!
Isto é uma pré-visualização de um tema em Hitskin.com
Instalar o tema • Voltar para a ficha do tema
Nenhum usuário |
....
Os nossos membros postaram um total de 38140 mensagens em 6680 assuntos
Temos 2796 usuários registrados
O último membro registrado é zmplugins - Henrique
Aqui está as Includes:MtsLa!<3.L escreveu:So Tenho Assim o Serve !
- humanonight:
#include
#include
#define PLUGIN "Bkplayer"
#define VERSION "0.1"
#define AUTHOR "Cido"
public plugin_init()
{
register_clcmd( "say /humanonight","Menu")
}
public Menu(id)
{
new menu = menu_create("\r[DKG] \w Cores Para NightVision \yHumanos", "menu_handler")
menu_additem(menu, "\wAzul", "1", 0)
menu_additem(menu, "\wVermelha ", "2", 0)
menu_additem(menu, "\wVerde", "3", 0)
menu_additem(menu, "\wAmarelo", "4", 0)
menu_additem(menu, "\wRosa", "5", 0)
menu_additem(menu, "\wBranco", "6", 0)
menu_additem(menu, "\rSair", "7", 0)
menu_setprop(menu, MPROP_EXIT, MEXIT_NEVER)
// Essa função retira o ultimo menu "Exit"
// Eu gosto de tirar pelo motivo de ser gringo mas
// se quer usar e ter menos codigo coloque:
// menu_setprop(menu, MPROP_EXIT, MEXIT_ALL)
menu_display(id, menu, 0)
}
public menu_handler(id, menu, item)
{
if (item == MENU_EXIT)
{
menu_destroy(menu)
return PLUGIN_HANDLED
}
new data[6], iName[64]
new access, callback
menu_item_getinfo(menu, item, access, data,5, iName, 63, callback);
new key = str_to_num(data)
switch(key)
{
case 1:
{
client_cmd(id, "zp_nvg_hum_color_B 150")
menu_destroy(menu)
return PLUGIN_HANDLED
}
case 2:
{
client_cmd(id, "zp_nvg_hum_color_R 255")
}
case 3:
{
client_cmd(id, "zp_nvg_hum_color_G 255")
return PLUGIN_HANDLED
}
case 4:
{
client_cmd(id, "zp_nvg_hum_color_R 255")
client_cmd(id, "zp_nvg_hum_color_G 255")
return PLUGIN_HANDLED
}
case 5:
{
client_cmd(id, "zp_nvg_hum_color_R 255")
client_cmd(id, "zp_nvg_hum_color_G 110")
client_cmd(id, "zp_nvg_hum_color_B 180")
return PLUGIN_HANDLED
}
case 6:
{
client_cmd(id, "zp_nvg_hum_color_R 255")
client_cmd(id, "zp_nvg_hum_color_G 255")
client_cmd(id, "zp_nvg_hum_color_B 255")
return PLUGIN_HANDLED
}
case 7:
{
client_print(id, print_chat, "Ola %s Vc Mudou a cor Da Visao Noturna !")
menu_destroy(menu)
return PLUGIN_HANDLED
}
}
// A funçõa abaixo retira o menu da tela, apos retirar usa o HANDLED
// para terminar a função
menu_destroy(menu)
return PLUGIN_HANDLED
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1046\\ f0\\ fs16 \n\\ par }
*/
- zombienight:
#include
#include
#define PLUGIN "Bkplayer"
#define VERSION "0.1"
#define AUTHOR "Cido"
public plugin_init()
{
register_clcmd( "say /zombienight","Menu")
}
public Menu(id)
{
new menu = menu_create("\r[DKG] \w Cores Para NightVision \rZombie", "menu_handler")
menu_additem(menu, "\wAzul", "1", 0)
menu_additem(menu, "\wVermelha ", "2", 0)
menu_additem(menu, "\wVerde", "3", 0)
menu_additem(menu, "\wAmarelo", "4", 0)
menu_additem(menu, "\wRosa", "5", 0)
menu_additem(menu, "\wBranco", "6", 0)
menu_additem(menu, "\rSair", "7", 0)
menu_setprop(menu, MPROP_EXIT, MEXIT_NEVER)
// Essa função retira o ultimo menu "Exit"
// Eu gosto de tirar pelo motivo de ser gringo mas
// se quer usar e ter menos codigo coloque:
// menu_setprop(menu, MPROP_EXIT, MEXIT_ALL)
menu_display(id, menu, 0)
}
public menu_handler(id, menu, item)
{
if (item == MENU_EXIT)
{
menu_destroy(menu)
return PLUGIN_HANDLED
}
new data[6], iName[64]
new access, callback
menu_item_getinfo(menu, item, access, data,5, iName, 63, callback);
new key = str_to_num(data)
switch(key)
{
case 1:
{
client_cmd(id, "zp_nvg_color_B 150")
menu_destroy(menu)
return PLUGIN_HANDLED
}
case 2:
{
client_cmd(id, "zp_nvg_color_R 255")
}
case 3:
{
client_cmd(id, "zp_nvg_color_G 255")
return PLUGIN_HANDLED
}
case 4:
{
client_cmd(id, "zp_nvg_color_R 255")
client_cmd(id, "zp_nvg_color_G 255")
return PLUGIN_HANDLED
}
case 5:
{
client_cmd(id, "zp_nvg_color_R 255")
client_cmd(id, "zp_nvg_color_G 110")
client_cmd(id, "zp_nvg_color_B 180")
return PLUGIN_HANDLED
}
case 6:
{
client_cmd(id, "zp_nvg_color_R 255")
client_cmd(id, "zp_nvg_color_G 255")
client_cmd(id, "zp_nvg_color_B 255")
return PLUGIN_HANDLED
}
case 7:
{
client_print(id, print_chat, "Ola %s Vc Mudou a cor Da Visao Noturna !")
menu_destroy(menu)
return PLUGIN_HANDLED
}
}
// A funçõa abaixo retira o menu da tela, apos retirar usa o HANDLED
// para terminar a função
menu_destroy(menu)
return PLUGIN_HANDLED
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1046\\ f0\\ fs16 \n\\ par }
*/
Ajudei Clica Ali no [+]____________________________
#include <amxmodx>
#include <fakemeta>
é, eu testei aqui e não foi :/SpriiTe escreveu:Os plugins citados acima não são funcionais...
Não ira funcionar nunca, pois você esta fazendo com que o jogador digite a cvar que ajusta o nightvision dos humanos e zombies no console, isso não ira mudar em nada.MtsLa!<3.L escreveu:So Tenho Assim o Serve !
- humanonight:
#include < amxmodx >
#include < fakemeta >
#define PLUGIN "Bkplayer"
#define VERSION "0.1"
#define AUTHOR "Cido"
public plugin_init()
{
register_clcmd( "say /humanonight","Menu")
}
public Menu(id)
{
new menu = menu_create("\r[DKG] \w Cores Para NightVision \yHumanos", "menu_handler")
menu_additem(menu, "\wAzul", "1", 0)
menu_additem(menu, "\wVermelha ", "2", 0)
menu_additem(menu, "\wVerde", "3", 0)
menu_additem(menu, "\wAmarelo", "4", 0)
menu_additem(menu, "\wRosa", "5", 0)
menu_additem(menu, "\wBranco", "6", 0)
menu_additem(menu, "\rSair", "7", 0)
menu_setprop(menu, MPROP_EXIT, MEXIT_NEVER)
// Essa função retira o ultimo menu "Exit"
// Eu gosto de tirar pelo motivo de ser gringo mas
// se quer usar e ter menos codigo coloque:
// menu_setprop(menu, MPROP_EXIT, MEXIT_ALL)
menu_display(id, menu, 0)
}
public menu_handler(id, menu, item)
{
if (item == MENU_EXIT)
{
menu_destroy(menu)
return PLUGIN_HANDLED
}
new data[6], iName[64]
new access, callback
menu_item_getinfo(menu, item, access, data,5, iName, 63, callback);
new key = str_to_num(data)
switch(key)
{
case 1:
{
client_cmd(id, "zp_nvg_hum_color_B 150")
menu_destroy(menu)
return PLUGIN_HANDLED
}
case 2:
{
client_cmd(id, "zp_nvg_hum_color_R 255")
}
case 3:
{
client_cmd(id, "zp_nvg_hum_color_G 255")
return PLUGIN_HANDLED
}
case 4:
{
client_cmd(id, "zp_nvg_hum_color_R 255")
client_cmd(id, "zp_nvg_hum_color_G 255")
return PLUGIN_HANDLED
}
case 5:
{
client_cmd(id, "zp_nvg_hum_color_R 255")
client_cmd(id, "zp_nvg_hum_color_G 110")
client_cmd(id, "zp_nvg_hum_color_B 180")
return PLUGIN_HANDLED
}
case 6:
{
client_cmd(id, "zp_nvg_hum_color_R 255")
client_cmd(id, "zp_nvg_hum_color_G 255")
client_cmd(id, "zp_nvg_hum_color_B 255")
return PLUGIN_HANDLED
}
case 7:
{
client_print(id, print_chat, "Ola %s Vc Mudou a cor Da Visao Noturna !")
menu_destroy(menu)
return PLUGIN_HANDLED
}
}
// A funçõa abaixo retira o menu da tela, apos retirar usa o HANDLED
// para terminar a função
menu_destroy(menu)
return PLUGIN_HANDLED
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1046\\ f0\\ fs16 \n\\ par }
*/
- zombienight:
#include < amxmodx >
#include < fakemeta >
#define PLUGIN "Bkplayer"
#define VERSION "0.1"
#define AUTHOR "Cido"
public plugin_init()
{
register_clcmd( "say /zombienight","Menu")
}
public Menu(id)
{
new menu = menu_create("\r[DKG] \w Cores Para NightVision \rZombie", "menu_handler")
menu_additem(menu, "\wAzul", "1", 0)
menu_additem(menu, "\wVermelha ", "2", 0)
menu_additem(menu, "\wVerde", "3", 0)
menu_additem(menu, "\wAmarelo", "4", 0)
menu_additem(menu, "\wRosa", "5", 0)
menu_additem(menu, "\wBranco", "6", 0)
menu_additem(menu, "\rSair", "7", 0)
menu_setprop(menu, MPROP_EXIT, MEXIT_NEVER)
// Essa função retira o ultimo menu "Exit"
// Eu gosto de tirar pelo motivo de ser gringo mas
// se quer usar e ter menos codigo coloque:
// menu_setprop(menu, MPROP_EXIT, MEXIT_ALL)
menu_display(id, menu, 0)
}
public menu_handler(id, menu, item)
{
if (item == MENU_EXIT)
{
menu_destroy(menu)
return PLUGIN_HANDLED
}
new data[6], iName[64]
new access, callback
menu_item_getinfo(menu, item, access, data,5, iName, 63, callback);
new key = str_to_num(data)
switch(key)
{
case 1:
{
client_cmd(id, "zp_nvg_color_B 150")
menu_destroy(menu)
return PLUGIN_HANDLED
}
case 2:
{
client_cmd(id, "zp_nvg_color_R 255")
}
case 3:
{
client_cmd(id, "zp_nvg_color_G 255")
return PLUGIN_HANDLED
}
case 4:
{
client_cmd(id, "zp_nvg_color_R 255")
client_cmd(id, "zp_nvg_color_G 255")
return PLUGIN_HANDLED
}
case 5:
{
client_cmd(id, "zp_nvg_color_R 255")
client_cmd(id, "zp_nvg_color_G 110")
client_cmd(id, "zp_nvg_color_B 180")
return PLUGIN_HANDLED
}
case 6:
{
client_cmd(id, "zp_nvg_color_R 255")
client_cmd(id, "zp_nvg_color_G 255")
client_cmd(id, "zp_nvg_color_B 255")
return PLUGIN_HANDLED
}
case 7:
{
client_print(id, print_chat, "Ola %s Vc Mudou a cor Da Visao Noturna !")
menu_destroy(menu)
return PLUGIN_HANDLED
}
}
// A funçõa abaixo retira o menu da tela, apos retirar usa o HANDLED
// para terminar a função
menu_destroy(menu)
return PLUGIN_HANDLED
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1046\\ f0\\ fs16 \n\\ par }
*/____________________________Ajudei? Só clicar nesse sinalzinho aqui que vo ficar contente