Raised This Month: $89 Target: $400
 22% 

Help please.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
newstartnewbegin2
Junior Member
Join Date: Jul 2019
Old 07-22-2019 , 01:09   Help please.
Reply With Quote #1

Can someone please add Bunnyhop/nofalldmg/2x jump ?! please.


#include <amxmodx>
#include <cstrike>
#include <hamsandwich>
#include <fun>

new const PLUGIN[] = "Weapons menu";
new const VERSION[] = "1.0";
new const AUTHOR[] = "~D4rkSiD3Rs~";

new bool: WeaponChosen[33];

public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);

register_clcmd("weapons", "WeaponMenu");
register_clcmd("say /weapons", "WeaponMenu")

RegisterHam(Ham_Spawn, "player", "Spawn", 1);
}

public client_putinserver(id)
{
WeaponChosen[id] = false;
}

public Spawn(id)
{
if(is_user_alive(id))
{
WeaponChosen[id] = false;
WeaponMenu(id);
}
}

public WeaponMenu(id)
{
if(WeaponChosen[id])
return PLUGIN_HANDLED;

new menu = menu_create ("Weapons Menu", "MenuHandler");

menu_additem(menu, "AK47 + Deagle", "1");
menu_additem(menu, "M4A1 + Deagle", "2");
menu_additem(menu, "AWP + Deagle", "3");

menu_display(id, menu, 0 );
return 1;
}

public MenuHandler(id, menu, item)
{
if(item == MENU_EXIT)
{
return 1;
}

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:
{
WeaponChosen[id] = true;
give_item(id, "weapon_deagle");
cs_set_user_bpammo(id, CSW_DEAGLE, 90);
give_item(id, "weapon_m4a1");
cs_set_user_bpammo(id, CSW_AK47, 90);
give_item (id, "weapon_hegrenade");
}
case 2:
{
WeaponChosen[id] = true;
give_item(id, "weapon_deagle");
cs_set_user_bpammo(id, CSW_DEAGLE, 90);
give_item(id, "weapon_m4a1");
cs_set_user_bpammo(id, CSW_M4A1, 90);
give_item (id, "weapon_hegrenade");
}
case 3:
{
WeaponChosen[id] = true;
give_item(id, "weapon_deagle");
cs_set_user_bpammo(id, CSW_DEAGLE, 90);
give_item(id, "weapon_m4a1");
cs_set_user_bpammo(id, CSW_AWP, 90);
give_item (id, "weapon_hegrenade");
}
}

menu_destroy (menu);
return 1;
}
newstartnewbegin2 is offline
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 07-22-2019 , 01:39   Re: Help please.
Reply With Quote #2

No need to combine them in the same plugin. You can find all of them by using the search.
__________________
<VeCo> is offline
newstartnewbegin2
Junior Member
Join Date: Jul 2019
Old 07-22-2019 , 01:48   Re: Help please.
Reply With Quote #3

can u send me a link,, trust me i've been searching for days,,
newstartnewbegin2 is offline
enis.unniking
Junior Member
Join Date: Jul 2019
Location: KOSOVA
Old 07-22-2019 , 05:13   Re: Help please.
Reply With Quote #4

Here you Go!

BunnyHop https://forums.alliedmods.net/showth...=69840?t=69840
No Fall Damage https://forums.alliedmods.net/showthread.php?t=23824
MultiJump https://forums.alliedmods.net/showthread.php?t=10159

That is all what you need! ENJOY
enis.unniking 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 16:23.


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