Raised This Month: $ Target: $400
 0% 

[CS:GO][REQ]AWP only for flag A


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Raw123
Junior Member
Join Date: Jul 2016
Old 01-11-2017 , 17:36   [CS:GO][REQ]AWP only for flag A
Reply With Quote #1

Hello, I want some plugin which will block picking awp for non-VIP users - flag a.
I've searched forums but I cant find just this simple plugin.
If someone can do that plugin i will be very appereciated.

Last edited by Raw123; 01-12-2017 at 07:55.
Raw123 is offline
YellowSwag
Senior Member
Join Date: Jul 2016
Old 01-12-2017 , 15:20   Re: [CS:GO][REQ]AWP only for flag A
Reply With Quote #2

Quote:
Originally Posted by Raw123 View Post
Hello, I want some plugin which will block picking awp for non-VIP users - flag a.
I've searched forums but I cant find just this simple plugin.
If someone can do that plugin i will be very appereciated.
Code:
#include <sourcemod>  
#include <sdktools> 
#include <cstrike>
#include <smlib>

#define PLUGIN_AUTHOR     "YellowSwag+baroNN"  
#define PLUGIN_VERSION     "1.00"  

EngineVersion g_Game;  

public Plugin myinfo =   
{  
    name = "Another Shitty plugin",   
    author = PLUGIN_AUTHOR,   
    description = "",   
    version = PLUGIN_VERSION,   
    url = ""  
};  

public void OnPluginStart()  
{  
    g_Game = GetEngineVersion(); 
    if (g_Game != Engine_CSGO && g_Game != Engine_CSS)  
        SetFailState("This plugin is for CSGO/CSS only.");  
          
    HookEvent("round_start", Event_RoundStart);  
}  

public void Event_RoundStart(Handle event, const char[] name, bool dontBroadcast)  
{    	 
        Client_RemoveAllWeapons(i, "", true);
        Client_GiveWeaponAndAmmo(i, "weapon_deagle", true, 0, 0, 10, 50);
}
not tested.
YellowSwag is offline
headline
SourceMod Moderator
Join Date: Mar 2015
Old 01-12-2017 , 15:35   Re: [CS:GO][REQ]AWP only for flag A
Reply With Quote #3

Attached Files
File Type: sp Get Plugin or Get Source (hl_blockawp.sp - 485 views - 1.3 KB)

Last edited by headline; 01-12-2017 at 15:36.
headline is offline
Raw123
Junior Member
Join Date: Jul 2016
Old 01-12-2017 , 16:35   Re: [CS:GO][REQ]AWP only for flag A
Reply With Quote #4

Quote:
Originally Posted by Headline View Post
Thank you so much !
Raw123 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 02:57.


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