Raised This Month: $ Target: $400
 0% 

Force Drop Weapon


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Podarok
BANNED
Join Date: Jan 2011
Location: Narnia
Old 04-18-2013 , 10:40   Re: Force Drop Weapon
Reply With Quote #1

Look at that Leon.. It is offending me.
Quote:
Very Good Example,I Understand EveryThing From Your Words........
Also Forgot TO Tell You, Your Writing Style Is Very Cool.
Podarok is offline
Huseyn26
Member
Join Date: Jan 2013
Old 04-18-2013 , 10:46   Re: Force Drop Weapon
Reply With Quote #2

Quote:
Originally Posted by Podarok View Post
Look at that Leon.. It is offending me.

Also Forgot TO Tell You, Your Writing Style Is Very Cool.
Yes Capitalize Words.

But I Didnt Get Help Again.Please Just Post Full Plugin Script.
Huseyn26 is offline
Podarok
BANNED
Join Date: Jan 2011
Location: Narnia
Old 04-18-2013 , 10:48   Re: Force Drop Weapon
Reply With Quote #3

Quote:
Originally Posted by Huseyn26 View Post
Yes Capitalize Words.

But I Didnt Get Help Again.Please Just Post Full Plugin Script.
No
Quote:
Originally Posted by Podarok
Its scripting help, not suggestions/requests
Podarok is offline
Huseyn26
Member
Join Date: Jan 2013
Old 04-18-2013 , 10:59   Re: Force Drop Weapon
Reply With Quote #4

Quote:
Originally Posted by Podarok View Post
No
O.K.

Then Correct Mistakes Which I Made in My Code....
Huseyn26 is offline
Kz1.0
Senior Member
Join Date: Jan 2013
Location: Vietnam
Old 04-18-2013 , 12:48   Re: Force Drop Weapon
Reply With Quote #5

Quote:
Originally Posted by Huseyn26 View Post
O.K.

Then Correct Mistakes Which I Made in My Code....
Why ?
Kz1.0 is offline
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 04-18-2013 , 21:29   Re: Force Drop Weapon
Reply With Quote #6

Quote:
Originally Posted by Huseyn26 View Post
O.K.

Then Correct Mistakes Which I Made in My Code....
PHP Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Force Weapon Drop"
#define VERSION "1.0"
#define AUTHOR "Blizzard"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_concmd("forcedrop""cmdForceDrop"ADMIN_KICK"forcedrop <playername>");
}

public 
cmdForceDropidlvlcid )
{
    if(!
cmd_accessidlvlcid) )
        return 
PLUGIN_HANDLED;
        
    new 
iTarget32 ], iPlayer;
    
read_argv1iTarget31 );
    
iPlayer cmd_targetidiTarget)
    
    
engclient_cmd(iPlayer"drop" );

    return 
PLUGIN_HANDLED;

PHP Code:
iPlayer cmd_targetidiTarget)
// doesn't obey immunity 

iPlayer cmd_targetidiTarget)
// does obey immunity 
tested and works.
__________________

Last edited by Blizzard_87; 04-19-2013 at 00:07.
Blizzard_87 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 10:52.


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