Raised This Month: $51 Target: $400
 12% 

**>>A.M Auto Fights<<**


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
Xevious
Senior Member
Join Date: Sep 2009
Location: Computer Chair
Old 09-17-2009 , 11:17   **>>A.M Auto Fights<<**
Reply With Quote #1

[Intro]
- Just in game , this plugin will give you a primary, secondary weapon and HE/FB and full armor [Include Defuser].

- This plugin will set your money to 0 prevent buy ammo.

- Team T gets ak47, glock18 with full ammo | Hegrenade , Flashbangs and Smoke .

- CT team gets m4a1, usp with full ammo | Hegrenade and Flashbangs , Smoke . [Include Defuse Kit]

- The all weapons'ammo will refilling again when the another round is started .


- Press V to refill your ammo instantly .
_____________________________________________ ____________

[Cvars] <ADDED>

amxx_a4fg [ 1 or 0 ] // 1 = on else off
am_autofill [ 1 or 0 ] // 1 = on else off

----------------------------------------------------------------------
[Cvars'Info]
amxx_a4fg = Plugin On Or Off .
am_autofill = Whether V is binded .

--------------------------------------------------------

[Changeslogs*New*]
-1.75 | Create Auto Binded For Refilling.
-----------------------------------------------------------
[
Complains]
-
To Kadir , "client_print have been disabled "

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[OldVersion/Unsupported]
{ Unsupported }
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Attached Files
File Type: sma Get Plugin or Get Source (AKM4-FULLAUTO.sma - 926 views - 2.4 KB)
__________________
Nothing possible when you are not hardworking

Last edited by Xevious; 10-07-2009 at 02:04. Reason: Updated
Xevious is offline
Send a message via MSN to Xevious
Old 09-17-2009, 11:20
xPaw
This message has been deleted by Brad. Reason: if you don't like a plugin, say nothing. it's not that hard.
GmTx
BANNED
Join Date: May 2009
Location: Mountains [BG/Sofia]
Old 09-17-2009 , 11:30   Re: [{ AK VS M4 } ]
Reply With Quote #2

Fail but optimize it use
PHP Code:
strip_user_weapon(id
and disable the buyzone
Don`t use this
PHP Code:
if( cs_get_user_bpammo(idCSW_M4A1) < 90 
You`r use very much space
Don`t use
PHP Code:
set_task(15.0"print_msg"id
Register it in Ham_Spawn
And set some cvars
GmTx is offline
Send a message via Skype™ to GmTx
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-17-2009 , 11:30   Re: [{ AK VS M4 } ]
Reply With Quote #3

Quote:
Originally Posted by xPaw View Post
Booring :/

If you set bpammo to max value, it's not needed to check its value before.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
GmTx
BANNED
Join Date: May 2009
Location: Mountains [BG/Sofia]
Old 09-17-2009 , 11:43   Re: [{ AK VS M4 } ]
Reply With Quote #4

PHP Code:
/* Plugin generated by AMXX-Studio */

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

#define PLUGIN "AKM4"
#define VERSION "1.0"
#define AUTHOR "Xevious"


public plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
RegisterHamHam_Spawn"player""fwdPlayerSpawn");
}

public 
fwdPlayerSpawn(id)
{    
    if(
is_user_alive(id))
    {
        new 
name[32]    
        
get_user_name(idname31)
        
        
client_print(idprint_chat"Welcome %s your money now is , this server is using AKM4"name)
        
        switch(
cs_get_user_team(id))
        {
            case 
CS_TEAM_T:
            {
                
strip_user_weapons(id)
                
cs_set_user_money (id0)
                
give_item(id"weapon_ak47")
                
give_item(id"weapon_glock18")
                
give_item(id"weapon_hegrenade")
                
give_item(id"weapon_flashbang")
                
cs_set_user_bpammo(idCSW_AK4790)
                
cs_set_user_bpammo(idCSW_GLOCK18120)                
            }
            case 
CS_TEAM_CT:
            {
                
strip_user_weapons(id)
                
cs_set_user_money(id0)
                
give_item(id"weapon_m4a1")
                
give_item(id"weapon_usp")
                
give_item(id"weapon_hegrenade")
                
give_item(id"weapon_flashbang")
                
cs_set_user_bpammo(idCSW_M4A190)
                
cs_set_user_bpammo(idCSW_USP100
            }
        }
    }

GmTx is offline
Send a message via Skype™ to GmTx
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 09-17-2009 , 11:45   Re: [{ AK VS M4 } ]
Reply With Quote #5

I hate client_print advertisement >_<
KadiR is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 09-17-2009 , 11:53   Re: [{ AK VS M4 } ]
Reply With Quote #6

Make a pcvar for the
Code:
        client_print(id, print_chat, "Welcome %s your money now is , this server is using AKM4", name)
& put its default as 0
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
Old 09-17-2009, 11:54
tuty
This message has been deleted by Brad. Reason: if you don't like a plugin, say nothing. it's not that hard.
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 09-17-2009 , 12:11   Re: [{ AK VS M4 } ]
Reply With Quote #7

http://forums.alliedmods.net/showthread.php?p=219537

???
KadiR is offline
Old 09-17-2009, 13:30
soolt
This message has been deleted by Brad. Reason: if you don't like a plugin, say nothing. it's not that hard.
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 09-17-2009 , 15:51   Re: [{ AK VS M4 } ]
Reply With Quote #8

You guys are complete assholes.

How about welcome people to this community by suggesting changes and features to make this plugin better. Don't discourage them by saying it's boring.
BOYSplayCS is offline
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 09-17-2009 , 16:09   Re: [{ AK VS M4 } ]
Reply With Quote #9

You know, we have some fu**ers in this forum...
KadiR is offline
Xevious
Senior Member
Join Date: Sep 2009
Location: Computer Chair
Old 09-17-2009 , 20:33   Re: [{ AK VS M4 } ]
Reply With Quote #10

Fixed.
__________________
Nothing possible when you are not hardworking
Xevious is offline
Send a message via MSN to Xevious
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 07:58.


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