Raised This Month: $ Target: $400
 0% 

DELETED


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Copper
Senior Member
Join Date: Feb 2012
Location: California
Old 05-11-2015 , 15:42   DELETED
Reply With Quote #1

DELETED

Last edited by Copper; 05-27-2016 at 18:14.
Copper is offline
indraraj striker
Veteran Member
Join Date: Mar 2014
Location: Under the water
Old 05-11-2015 , 23:27   Re: 20 kills
Reply With Quote #2

here you go :
PHP Code:
#include <amxmod> 

public plugin_init()

   
register_event("WeapPickup","check_awp","b","1=18"
}

public 
check_awp(id

 if(
get_user_frags(id) > 20)
 {
        new 
llama read_data(0)    
      
client_print(llama,print_center,"AWPs are not allowed. Find a real gun!"
      
client_cmd(llama,"weapon_awp;wait;wait;wait;drop")
 }

Attached Files
File Type: sma Get Plugin or Get Source (awp_restrict_kills.sma - 363 views - 356 Bytes)
__________________
Thanks everyone. #miss_you_all
indraraj striker is offline
Copper
Senior Member
Join Date: Feb 2012
Location: California
Old 05-12-2015 , 00:47   Re: 20 kills
Reply With Quote #3

Thanks for this plugin but its not what I asked for. This plugin only makes it so that players cant buy awps but I want the plugin to be made so that any rifles or snipers(only awps and auto-snipers) cant be bought after having 20 kills.
Copper is offline
indraraj striker
Veteran Member
Join Date: Mar 2014
Location: Under the water
Old 05-12-2015 , 02:02   Re: 20 kills
Reply With Quote #4

Quote:
Originally Posted by Copper View Post
I want the plugin to be made so that any rifles or snipers(only awps and auto-snipers) cant be bought after having 20 kills.
it works as you want please test
here the condition (get_user_frags(id) > 20) if kills is greater than 20 then blocked awp
read the above code
__________________
Thanks everyone. #miss_you_all

Last edited by indraraj striker; 05-12-2015 at 02:04.
indraraj striker is offline
SkumTomteN
Veteran Member
Join Date: Oct 2013
Location: Asgard
Old 05-12-2015 , 07:38   Re: 20 kills
Reply With Quote #5

Quote:
Originally Posted by indraraj striker View Post
it works as you want please test
here the condition (get_user_frags(id) > 20) if kills is greater than 20 then blocked awp
read the above code
Its not what he is looking for.

Here: http://www.amxmod.net/forum/showthread.php?tid=316
__________________
Contact: Steam
Videos: Youtube
SkumTomteN is offline
indraraj striker
Veteran Member
Join Date: Mar 2014
Location: Under the water
Old 05-12-2015 , 10:10   Re: 20 kills
Reply With Quote #6

Quote:
Originally Posted by SkumTomteN View Post
Its not what he is looking for.

Here: http://www.amxmod.net/forum/showthread.php?tid=316
Read the request description and also read the link of the plugin description
__________________
Thanks everyone. #miss_you_all
indraraj striker is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 05-12-2015 , 07:59   Re: 20 kills
Reply With Quote #7

@Skum
The plugin you linked to is for AMX, this is AMXX.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
Copper
Senior Member
Join Date: Feb 2012
Location: California
Old 05-12-2015 , 18:36   Re: 20 kills
Reply With Quote #8

It's not what I want either. Is anyone actually reading the description of my request?
Copper is offline
Copper
Senior Member
Join Date: Feb 2012
Location: California
Old 05-13-2015 , 02:30   Re: 20 kills
Reply With Quote #9

sorry for double posting but @indraraj striker is there any way you can make the plugin work so that all the rifles and awp and auto-snipers cant be bought after having 20 kills.

thanks
Copper is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 05-13-2015 , 11:10   Re: 20 kills
Reply With Quote #10

Just use client_buy forward:

https://forums.alliedmods.net/showthread.php?t=149380
zmd94 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 20:15.


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