Raised This Month: $32 Target: $400
 8% 

Suggestion / Subplugin Request Please Help Me Here >..


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
RrebEliii
Junior Member
Join Date: Jul 2016
Old 07-21-2016 , 08:01   Please Help Me Here >..
Reply With Quote #1

I Need Your Help Guyz, Can u Create zm_supervip.sma For My SVIP_MENU
Like zm_vip
To Have Free hours With Time , Free Armor Evry Runds , Free Multi Jumps , Etj More Faturs Like Same With ZM_VIP Just Other Name LIke SO --->
zp_svip_jumps 6
zp_svip_allow_jump abcde
zp_svip_armor 200
zp_svip_killammo 3
zp_svip_infectammo 3
zp_svip_infecthealth 300
zp_svip_nemextra 1
zp_svip_show 1
zp_svip_unlimited_ammo 2
zp_svip_no_fall_damage 1
zp_svip_damage_reward 500
zp_svip_damage_increase 1.5
zp_svip_happy_hour off
zp_svip_happy_hour_frag 3
zp_svip_happy_hour_ammo 3
zp_svip_nonsvip_tease 0
zp_svip_register_in_zp_extra 0
zp_svip_menu_close 1
zp_svip_hour off
zp_svip_hour_flags a
zp_svip_cost_ammo 0
zp_svip_buy_time 0
zp_svip_buy_flags a

And To Make [SVIPS Players From Svips Configuration File]
i have Thats All But I Dont HAve ZM_SUPERVIP.SMA, I Need This To Working

So guyz If Its Imposive Create For ME

My SVIP_MENU -- CoDe --

Quote:
#include <amxmodx>
#include <cstrike>

public plugin_init()
{
register_plugin("SVIP Menu", "1.0", "ToNi")
register_concmd( "g_svip","AwesomeMenu" );
}

public AwesomeMenu( id )
{
if(!(get_user_flags(id) & ADMIN_LEVEL_H))
{
ChatColor(id, "!y[!gSVIP!y] !yYou Have no Access to Use The Super VIP Menu.");

return PLUGIN_HANDLED;
}

new menu = menu_create( "\rSuper VIP Menu:", "menu_handler" );
menu_additem( menu, "Colored MP5 \r[8000$]", "", 0 );
menu_additem( menu, "Janus-3 \r[7500$]", "", 0 );
menu_additem( menu, "M4A1 Red Lightning \r[6000$]", "", 0 );
menu_additem( menu, "Golden AK-47 \r[4000$]", "", 0 );
menu_additem( menu, "Golden Thanatos7 \r[2500$]", "", 0 );
menu_setprop( menu, MPROP_EXIT, MEXIT_ALL );
menu_display( id, menu, 0 );

return PLUGIN_HANDLED;
}
public menu_handler( id, menu, item )
{
switch(item)
{
case 0:
{
client_cmd(id, "g_mp5") // MP5 call
}
case 1:
{
client_cmd(id, "g_bb") // J3 Call
}
case 2:
{
client_cmd(id, "g_m4") // M4A1 call
}
case 3:
{
client_cmd(id, "g_ak") // AK47 call
}
case 4:
{
client_cmd(id, "g_th7") // TH call
}
case MENU_EXIT:
{
client_print( id, print_chat, "You exited the menu!" );
}
}

menu_destroy( menu );
return PLUGIN_HANDLED;
}

// Stock: ChatColor!
stock ChatColor(const id, const input[], any:...)
{
new count = 1, players[32]
static msg[191]
vformat(msg, 190, input, 3)

replace_all(msg, 190, "!g", "^4") // Green Color
replace_all(msg, 190, "!y", "^1") // Default Color
replace_all(msg, 190, "!t", "^3") // Team Color
replace_all(msg, 190, "!t2", "^0") // Team2 Color

if (id) players[0] = id; else get_players(players, count, "ch")
{
for (new i = 0; i < count; i++)
{
if (is_user_connected(players[i]))
{
message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i])
write_byte(players[i]);
write_string(msg);
message_end();
}
}
}
}
RrebEliii is offline
vinaymehta01
New Member
Join Date: Mar 2017
Old 03-16-2017 , 01:56   Re: Please Help Me Here >..
Reply With Quote #2

Hi,

I got your question. Can you please share what is the error message that you are getting on running this code? It would then be much easier to help.
__________________
vinaymehta01 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode