Raised This Month: $344 Target: $400
 86%   Almost there!

Vip knife [admin_level_h]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mohamed null
BANNED
Join Date: Sep 2020
Location: Algeria
Old 10-28-2020 , 12:27   Vip knife [admin_level_h]
Reply With Quote #1

hi guys
I looking for VIP KNIFE Pls For vips pls guys ADMIN_LEVEL_H with no say default knife VIP
models/knife/p_vipknife.mdl")
models/knife/v_vipknife.mdl")
Mohamed null is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 10-28-2020 , 14:36   Re: Vip knife [admin_level_h]
Reply With Quote #2

untested

PHP Code:
/* Sublime AMXX Editor v2.2 */

#include <amxmodx>
// #include <amxmisc>
// #include <cstrike>
// #include <engine>
#include <fakemeta>
// #include <hamsandwich>
// #include <fun>
// #include <xs>
// #include <sqlx>

#pragma semicolon 1

#if !defined MAX_PLAYERS
    
const MAX_PLAYERS 32;
#endif

#define PLUGIN  "VIP Knife"
#define VERSION "1.0"
#define AUTHOR  "NapoleoN#"

new const szModel[][] = {
    
"p_vipknife.mdl",
    
"v_vipknife.mdl"
};

public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR);

    
register_event("CurWeapon""ResetModel""be""1=1""2=29");
}

public 
plugin_precache() {
    for(new 
isizeof(szModel); i++) {
        
precache_model(szModel[i]);
    }
}

public 
ResetModel() {
    new 
id read_data(1);

    if(
get_user_flags(id) & ADMIN_LEVEL_H) {
        
set_pev(idpev_viewmodel2szModel[1]);
        
set_pev(idpev_weaponmodel2szModel[0]);
    }

__________________

Last edited by Napoleon_be; 10-28-2020 at 14:38.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Mohamed null
BANNED
Join Date: Sep 2020
Location: Algeria
Old 10-28-2020 , 15:07   Re: Vip knife [admin_level_h]
Reply With Quote #3

Ty
Mohamed null is offline
Mohamed null
BANNED
Join Date: Sep 2020
Location: Algeria
Old 10-28-2020 , 15:11   Re: Vip knife [admin_level_h]
Reply With Quote #4

bro i will add the models in models/knife/p_vipknife.mdl") & models/knife/v_vipknife.mdl")
Mohamed null 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 06:39.


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