AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   access flags that have knifes (https://forums.alliedmods.net/showthread.php?t=325013)

itoxicreal 06-04-2020 23:06

access flags that have knifes
 
Is there any plugin not a knife menu but a specific flag that gives someone a specific knife

supertrio17 06-04-2020 23:35

Re: access flags that have knifes
 
I think I can make it

itoxicreal 06-04-2020 23:36

Re: access flags that have knifes
 
Quote:

Originally Posted by supertrio17 (Post 2704031)
I think I can make it

That would mean alot

supertrio17 06-04-2020 23:38

Re: access flags that have knifes
 
Quote:

Originally Posted by itoxicreal (Post 2704024)
Is there any plugin not a knife menu but a specific flag that gives someone a specific knife

Can you tell me like what flags do you need

itoxicreal 06-04-2020 23:39

Re: access flags that have knifes
 
Quote:

Originally Posted by supertrio17 (Post 2704033)
Can you tell me like what flags do you need

Flag t

supertrio17 06-04-2020 23:40

Re: access flags that have knifes
 
Quote:

Originally Posted by itoxicreal (Post 2704035)
Flag t

Only flag t? Any other one?

itoxicreal 06-04-2020 23:43

Re: access flags that have knifes
 
Quote:

Originally Posted by supertrio17 (Post 2704037)
Only flag t? Any other one?

just t :D

Supremache 06-04-2020 23:56

Re: access flags that have knifes
 
Quote:

Originally Posted by itoxicreal (Post 2704024)
Is there any plugin not a knife menu but a specific flag that gives someone a specific knife

PHP Code:

/*-----------------------------------------------------------------------------------------------
 ___                ________________    ____                     ___________________
|   |        /|    |                |  |    |                   |                   |
|   |      /  |    |   __________   |  |    |                   |   _____________   |
|   |    /    |    |  |          |  |  |    |                   |  |             |  |
|   |  /      |    |  |          |  |  |    |                   |  |             |  |
|   |/       /     |  |          |  |  |    |                   |  |             |  |
|          /       |  |          |  |  |    |                   |  |             |  |
|        /         |  |__________|  |  |    |                   |  |             |  |
|       /          |  |          |  |  |    |                   |  |             |  |
|        \         |  |          |  |  |    |                   |  |             |  |
|          \       |  |          |  |  |    |                   |  |             |  |
|   |\       \     |  |          |  |  |    |                   |  |             |  |
|   |  \       \   |  |          |  |  |    |                   |  |             |  |
|   |    \      |  |  |          |  |  |    |____________       |  |             |  |
|   |      \    |  |  |          |  |  |                 |      |  |_____________|  |
|   |        \  |  |  |          |  |  |                 |      |                   |
|___|          \|  |__|          |__|  |_________________|      |___________________|

-------------------------------------------------------------------------------------------------*/
/*------------------------------------
Plugin Created By KaLo 
-------------------------------------*/
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <cstrike>

#define PLUGIN "Admin Knife Model"
#define VERSION "1.0"
#define AUTHOR "KaLo"


new const v_Knife_Admin[64] = "models/v_knife_admin.mdl"
new const p_Knife_Admin[64] = "models/p_knife_admin.mdl"

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_event"CurWeapon""Event_CurWeapon""be""1=1" )
    
}

public 
plugin_precache( ) {
    
precache_modelv_Knife_Admin )
    
precache_modelp_Knife_Admin )
    
}

public 
Event_CurWeaponid ) {
    new 
Arma read_data)
    
    if( 
get_user_flagsid ) == ADMIN_LEVEL_H && Arma == CSW_KNIFE){
        
set_pevidpev_viewmodel2v_Knife_Admin )
        
set_pevidpev_weaponmodel2p_Knife_Admin )
        
    }
    
    



supertrio17 06-05-2020 00:08

Re: access flags that have knifes
 
I guess I made this plugin for nothing :(

itoxicreal 06-05-2020 00:12

Re: access flags that have knifes
 
Quote:

Originally Posted by supertrio17 (Post 2704051)
I guess I made this plugin for nothing :(

can i see your plugin :D


All times are GMT -4. The time now is 06:16.

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