AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   DELETED (https://forums.alliedmods.net/showthread.php?t=262753)

Copper 05-11-2015 15:42

DELETED
 
DELETED

indraraj striker 05-11-2015 23:27

Re: 20 kills
 
1 Attachment(s)
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")
 }



Copper 05-12-2015 00:47

Re: 20 kills
 
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.

indraraj striker 05-12-2015 02:02

Re: 20 kills
 
Quote:

Originally Posted by Copper (Post 2295784)
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

SkumTomteN 05-12-2015 07:38

Re: 20 kills
 
Quote:

Originally Posted by indraraj striker (Post 2295793)
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

wickedd 05-12-2015 07:59

Re: 20 kills
 
@Skum
The plugin you linked to is for AMX, this is AMXX.

indraraj striker 05-12-2015 10:10

Re: 20 kills
 
Quote:

Originally Posted by SkumTomteN (Post 2295839)
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

Copper 05-12-2015 18:36

Re: 20 kills
 
It's not what I want either. Is anyone actually reading the description of my request?

Copper 05-13-2015 02:30

Re: 20 kills
 
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

zmd94 05-13-2015 11:10

Re: 20 kills
 
Just use client_buy forward:

https://forums.alliedmods.net/showthread.php?t=149380


All times are GMT -4. The time now is 20:15.

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