This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Suggestion / Subplugin Request Need a plugins for Zombie Plague !


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
XIX
Junior Member
Join Date: May 2012
Location: Prishtinė
Old 01-31-2014 , 17:36   Need a plugins for Zombie Plague !
Reply With Quote #1

I need a plugins for zombie plague if end the round all weapons drop !
XIX is offline
Send a message via Skype™ to XIX
Torge
Veteran Member
Join Date: Oct 2011
Old 01-31-2014 , 17:58   Re: Need a plugins for Zombie Plague !
Reply With Quote #2

Try this:

PHP Code:
new g_iMaxPlayers get_maxplayers();

public 
zp_round_ended()
{
    for(new 
i=0g_iMaxPlayersi++)
        
client_cmd(i"drop");

if that ain't work then my skills kinda went to noobie, lol
Torge is offline
Catastrophe
Veteran Member
Join Date: Jul 2012
Location: somewhere between narnia
Old 02-01-2014 , 02:30   Re: Need a plugins for Zombie Plague !
Reply With Quote #3

@ Torge, i dont think he knows scripting so its better to give full codes ..... also client command "drop" wont drop all the guns , it will just drop the currently held gun...

@XIX
Here's the full code .... ;) .... NOT TESTED ...

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>

#define PLUGIN "Roudn end weapon strip"
#define VERSION "1.0"
#define AUTHOR "Catastrophe"


public plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_logevent("event_round_end"2"1=Round_End")  
}

public 
event_round_end()
{
        for(new 
1<= get_maxplayers(); i++)
        {
            if(
is_user_alive(i))
            {
            
strip_user_weapons(i)    
            }
        } 

__________________
You will find everything u need :-

Last edited by Catastrophe; 02-01-2014 at 02:31.
Catastrophe is offline
Old 02-01-2014, 12:46
XIX
This message has been deleted by XIX.
XIX
Junior Member
Join Date: May 2012
Location: Prishtinė
Old 02-01-2014 , 12:46   Re: Need a plugins for Zombie Plague !
Reply With Quote #4

Quote:
Originally Posted by Catastrophe View Post
@ Torge, i dont think he knows scripting so its better to give full codes ..... also client command "drop" wont drop all the guns , it will just drop the currently held gun...

@XIX
Here's the full code .... ;) .... NOT TESTED ...

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>

#define PLUGIN "Roudn end weapon strip"
#define VERSION "1.0"
#define AUTHOR "Catastrophe"


public plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_logevent("event_round_end"2"1=Round_End")  
}

public 
event_round_end()
{
        for(new 
1<= get_maxplayers(); i++)
        {
            if(
is_user_alive(i))
            {
            
strip_user_weapons(i)    
            }
        } 

I need plugins that is tested and works !
XIX is offline
Send a message via Skype™ to XIX
Catastrophe
Veteran Member
Join Date: Jul 2012
Location: somewhere between narnia
Old 02-01-2014 , 13:43   Re: Need a plugins for Zombie Plague !
Reply With Quote #5

Dude are y retarded or what ? .... u get codes here and u test and tell if works we're not spoon feeding any1 ...
__________________
You will find everything u need :-
Catastrophe is offline
Torge
Veteran Member
Join Date: Oct 2011
Old 02-01-2014 , 16:20   Re: Need a plugins for Zombie Plague !
Reply With Quote #6

Quote:
Originally Posted by XIX View Post
I need plugins that is tested and works !
You are no VIP here or something. You should be glad that someone helped you out atleast, kid..
Torge 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 20:02.


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