Raised This Month: $ Target: $400
 0% 

[REQ]Buttons, time, added weapons, & awsome functions (PRO SCRIPTERS ONLY!)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
~`Blaze~`
Junior Member
Join Date: Nov 2008
Old 11-28-2008 , 15:21   [REQ]Buttons, time, added weapons, & awsome functions (PRO SCRIPTERS ONLY!)
Reply With Quote #1

I need the following in a script form (completely done, not choppy):

* After you die, you wait 5 seconds and you can press d and then you respawn
* If you wait 30 seconds after you die, you will be automatically respawned
* When you enter the game, the menu will pop up forcing you to choose a class (after you pick your team/class)
* On case 7, I need a bazooka script that will add a bazooka in the game and the bazooka gets 1 shot per clip, and has 3 clips.
* You can heal dead teammates if you pick case 5 (a medic) and your person crouches down while bending now (needs a needle to heal)
* On case 1 & 2 I need mines that you can plant on ground & they blow up on contact
* With the menu classes Support & Anti-Armour, i need an option to throw ammo on the ground, & you get a full clip of ammo (this is unlimited)
Whoever does this will get +karma as much as possible (as many times as I can) because I know this will be EXTREMELY hard.

Here is the script:
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <fakemeta_util>
#include <cstrike>
#include <fun>

#define PLUGIN    "COD3"
#define AUTHOR "Blaze"
#define VERSION    "1.0"
new cod3
public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_clcmd("say /menu""menu")
    
register_event("Deathmsg""deathmsg""a")
    
cod3 register_cvar("amx_cod3""1")
}

public 
deathmsg()
{
    
// The button thing, & then time waiting & all...
}

public 
dropcurweapon(id){
    
engclient_cmd(id"drop""weapon_shield")
    
engclient_cmd(id"drop""weapon_m3")
    
engclient_cmd(id"drop""weapon_xm1014")
    
engclient_cmd(id"drop""weapon_mp5navy")    
    
engclient_cmd(id"drop""weapon_p90")
    
engclient_cmd(id"drop""weapon_mac10")
    
engclient_cmd(id"drop""weapon_tmp")
    
engclient_cmd(id"drop""weapon_ump45")
    
engclient_cmd(id"drop""weapon_galil")
    
engclient_cmd(id"drop""weapon_famas")    
    
engclient_cmd(id"drop""weapon_m4a1")
    
engclient_cmd(id"drop""weapon_aug")
    
engclient_cmd(id"drop""weapon_ak47")
    
engclient_cmd(id"drop""weapon_sg552")
    
engclient_cmd(id"drop""weapon_scout")
    
engclient_cmd(id"drop""weapon_awp")
    
engclient_cmd(id"drop""weapon_sg550")
    
engclient_cmd(id"drop""weapon_g3sg1")
    
engclient_cmd(id"drop""weapon_m249")
    
engclient_cmd(id"drop""weapon_usp")
    
engclient_cmd(id"drop""weapon_glock18")
}

public 
menu(id)
{
    if (
get_pcvar_num(cod3) == 1)
    {
        new 
menu menu_create("Pick a class:""handler")
        
menu_additem(menu"Heavy Assault""1"0)
        
menu_additem(menu"Light Assault""2"0)
        
menu_additem(menu"Scout""3"0)
        
menu_additem(menu"Support""4"0)
        
menu_additem(menu"Medic""5"0)
        
menu_additem(menu"Rifleman""6"0)
        
menu_additem(menu"Anti-Armour""7"0)
        
menu_setprop(menuMPROP_EXITMEXIT_ALL)
        
menu_display(idmenu0)
    }
}

public 
handler(idmenuitem)
{
    if (
item == MENU_EXIT)
    {
        
menu_destroy(menu)
        return 
PLUGIN_HANDLED
    
}
    new 
data[6], iName[64]
    new 
accesscallback
    menu_item_getinfo
(menuitemaccessdata5iName63callback)
    new 
key str_to_num(data)
    switch(
key)
    {
        case 
1: {
            if (
get_user_team(id) == 2)
            {
                
dropcurweapon(id)
                
cs_set_no_knives(1)
                
fm_give_item(id"weapon_m4a1")
                
fm_give_item(id"weapon_usp")
                
cs_set_user_bpammo(idCSW_M4A1cs_get_user_bpammo(idCSW_M4A1) + 90)
                
cs_set_user_bpammo(idCSW_USPcs_get_user_bpammo(idCSW_USP) + 24)
                
// Mine Script
                
menu_destroy(menu)
                return 
PLUGIN_HANDLED
            
}
            if (
get_user_team(id) == 1)
            {
                
dropcurweapon(id)
                
cs_set_no_knives(1)
                
fm_give_item(id"weapon_ak47")
                
cs_set_user_bpammo(idCSW_AK47cs_get_user_bpammo(idCSW_AK47) + 90)
                
fm_give_item(id"weapon_glock18")
                
// Mine Script
                
cs_set_user_bpammo(idCSW_GLOCK18cs_get_user_bpammo(idCSW_GLOCK18) + 24)
                
menu_destroy(menu)
                return 
PLUGIN_HANDLED
            
}
        }
        case 
2: {
            if (
get_user_team(id) == 2)
            {
                
dropcurweapon(id)
                
cs_set_no_knives(1)
                
fm_give_item(id"weapon_famas")
                
fm_give_item(id"weapon_usp")
                
cs_set_user_bpammo(idCSW_FAMAScs_get_user_bpammo(idCSW_FAMAS) + 90)
                
cs_set_user_bpammo(idCSW_USPcs_get_user_bpammo(idCSW_USP) + 24)
                
menu_destroy(menu)
                return 
PLUGIN_HANDLED
            
}
            if (
get_user_team(id) == 1)
            {
                
dropcurweapon(id)
                
cs_set_no_knives(1)
                
fm_give_item(id"weapon_galil")
                
fm_give_item(id"weapon_glock18")
                
cs_set_user_bpammo(idCSW_GALILcs_get_user_bpammo(idCSW_GALIL) + 90)
                
cs_set_user_bpammo(idCSW_GLOCK18cs_get_user_bpammo(idCSW_GLOCK18) + 24)
                
menu_destroy(menu)
                return 
PLUGIN_HANDLED
            
}
        }
        case 
3: {
            if (
get_user_team(id) == 2)
            {
                
dropcurweapon(id)
                
cs_set_no_knives(1)
                
fm_give_item(id"weapon_awp")
                
fm_give_item(id"weapon_usp")
                
// Barage Script
                
cs_set_user_bpammo(idCSW_AWPcs_get_user_bpammo(idCSW_AWP) + 30)
                
cs_set_user_bpammo(idCSW_USPcs_get_user_bpammo(idCSW_USP) + 24)
                
menu_destroy(menu)
                return 
PLUGIN_HANDLED
            
}
            if (
get_user_team(id) == 1)
            {
                
dropcurweapon(id)
                
cs_set_no_knives(1)
                
fm_give_item(id"weapon_awp")
                
fm_give_item(id"weapon_glock18")
                
// Barage Script
                
cs_set_user_bpammo(idCSW_AWPcs_get_user_bpammo(idCSW_AWP) + 30)
                
cs_set_user_bpammo(idCSW_USPcs_get_user_bpammo(idCSW_USP) + 24)
                
menu_destroy(menu)
                return 
PLUGIN_HANDLED
            
}
        }
        case 
4: {
            if (
get_user_team(id) == 2)
            {
                
dropcurweapon(id)
                
cs_set_no_knives(1)
                
fm_give_item(id"weapon_m249")
                
fm_give_item(id"weapon_usp")
                
fm_give_item(id"weapon_hegrenade")
                
cs_set_user_bpammo(idCSW_M249cs_get_user_bpammo(idCSW_M249) + 200)
                
cs_set_user_bpammo(idCSW_USPcs_get_user_bpammo(idCSW_USP) + 24)
                
menu_destroy(menu)
                return 
PLUGIN_HANDLED
            
}
            if (
get_user_team(id) == 1)
            {
                
dropcurweapon(id)
                
cs_set_no_knives(1)
                
fm_give_item(id"weapon_m249")
                
fm_give_item(id"weapon_glock18")
                
fm_give_item(id"weapon_hegrenade")
                
cs_set_user_bpammo(idCSW_M249cs_get_user_bpammo(idCSW_M249) + 200)
                
cs_set_user_bpammo(idCSW_GLOCK18cs_get_user_bpammo(idCSW_GLOCK18) + 24)
                
menu_destroy(menu)
                return 
PLUGIN_HANDLED
            
}
        }
        case 
5: {
            if (
get_user_team(id) == 2)
            {
                
dropcurweapon(id)
                
cs_set_no_knives(1)
                
fm_give_item(id"weapon_m3")
                
fm_give_item(id"weapon_usp")
                
fm_give_item(id"weapon_smokegrenade")
                
cs_set_user_bpammo(idCSW_M3cs_get_user_bpammo(idCSW_M3) + 30)
                
cs_set_user_bpammo(idCSW_USPcs_get_user_bpammo(idCSW_USP) + 24)
                
menu_destroy(menu)
                return 
PLUGIN_HANDLED
            
}
            if (
get_user_team(id) == 1)
            {
                
dropcurweapon(id)
                
cs_set_no_knives(1)
                
fm_give_item(id"weapon_m3")
                
fm_give_item(id"weapon_glock18")
                
fm_give_item(id"weapon_hegrenade")
                
cs_set_user_bpammo(idCSW_M3cs_get_user_bpammo(idCSW_M3) + 30)
                
cs_set_user_bpammo(idCSW_GLOCK18cs_get_user_bpammo(idCSW_GLOCK18) + 24)
                
menu_destroy(menu)
                return 
PLUGIN_HANDLED
            
}
        }
        case 
6: {
            if (
get_user_team(id) == 2)
            {
                
dropcurweapon(id)
                
cs_set_no_knives(1)
                
fm_give_item(id"weapon_scout")
                
fm_give_item(id"weapon_usp")
                
fm_give_item(id"weapon_hegrenade")
                
cs_set_user_bpammo(idCSW_SCOUTcs_get_user_bpammo(idCSW_SCOUT) + 90)
                
cs_set_user_bpammo(idCSW_USPcs_get_user_bpammo(idCSW_USP) + 24)
                
menu_destroy(menu)
                return 
PLUGIN_HANDLED
            
}
            if (
get_user_team(id) == 1)
            {
                
dropcurweapon(id)
                
cs_set_no_knives(1)
                
fm_give_item(id"weapon_scout")
                
fm_give_item(id"weapon_glock18")
                
fm_give_item(id"weapon_hegrenade")
                
cs_set_user_bpammo(idCSW_SCOUTcs_get_user_bpammo(idCSW_SCOUT) + 90)
                
cs_set_user_bpammo(idCSW_GLOCK18cs_get_user_bpammo(idCSW_GLOCK18) + 24)
                
menu_destroy(menu)
                return 
PLUGIN_HANDLED
            
}
        }
        case 
7: {
            
// The bazooka script that will give them that bazooka
        
}
    }
    
menu_destroy(menu)
    return 
PLUGIN_HANDLED


Last edited by ~`Blaze~`; 11-28-2008 at 16:36.
~`Blaze~` is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 11-28-2008 , 16:25   Re: [REQ]Buttons, time, added weapons, & awsome functions (PRO SCRIPTERS ONLY!)
Reply With Quote #2

Extremely hard and pro scripters. I think that stuff is pretty stupid. You are hoping a combination for like 6 different things, that could be different plugins too. I think that no one will actually make this "completely done".
SnoW is offline
Send a message via MSN to SnoW
~`Blaze~`
Junior Member
Join Date: Nov 2008
Old 11-28-2008 , 16:33   Re: [REQ]Buttons, time, added weapons, & awsome functions (PRO SCRIPTERS ONLY!)
Reply With Quote #3

I'm trying to re-create call of duty 3 to counter-strike. If someone can help me, then they would be rewarded greatly.
~`Blaze~` is offline
benamo6
Veteran Member
Join Date: Aug 2008
Location: NeverLand
Old 11-28-2008 , 16:52   Re: [REQ]Buttons, time, added weapons, & awsome functions (PRO SCRIPTERS ONLY!)
Reply With Quote #4

do you know how to search? because there are some of things that you ask that are already made:
medic thing
mines
and i think bazooka too.
about the respawn thing you already made like 3 threads about it.
__________________
Please help me with this Thread
I am 70% addicted to Counterstrike. What about you?
Ill make any spanish translation of a plugin. Just ask for it
benamo6 is offline
Send a message via MSN to benamo6
~`Blaze~`
Junior Member
Join Date: Nov 2008
Old 11-29-2008 , 01:12   Re: [REQ]Buttons, time, added weapons, & awsome functions (PRO SCRIPTERS ONLY!)
Reply With Quote #5

The reason why I ask is because idk how to make those plugins into mine... If someone could help me do that...
~`Blaze~` is offline
Reply



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 00:01.


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