29/10/2015, 11:44 AM
Nunca entendí como adaptar un menú de armas, en especial con esto que no entendi xd
será aquí donde se pone?
(29/10/2015, 09:58 AM)Kira*.- escribió: [ -> ]En el handler pones
Código PHP:If(item == item_arma)
{
Dararmanative(id)
}
Else {
Das arma normalmente
}
Código PHP:
if (get_pcvar_num(cvar_buycustom))
{
// Disable the remember selection setting
WPN_AUTO_ON = 0
zp_colored_print(id, "^x04[ZM]^x01 %L", id, "BUY_ENABLED")
// Show menu if player hasn't yet bought anything
if (g_canbuy[id]) show_menu_buy1(id)
}
será aquí donde se pone?