Raised This Month: $42 Target: $400
 10% 

Help Owner Knife Zm & Ct


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SHIFT0
Member
Join Date: Apr 2021
Location: Algeria
Old 04-06-2021 , 09:44   Help Owner Knife Zm & Ct
Reply With Quote #1

Hi everyone this from Kalo
I want this for owners only already ADMIN_IMMUNITY But, Want If( User Ct & Zm )
This is the Sma PHP
PHP Code:
/* Plugin generated by AMXX-Studio */

Plugin From Kalo Edited By Null For zm ct skin knife 

#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <cstrike>

#define PLUGIN "Owner Knife HUMAN & ZM"
#define VERSION "1.5"
#define AUTHOR "Kalo "


new const v_Knife_Owner[64] = "models/AlgerianKnifes/v_knife_owner.mdl"
new const p_Knife_Owner[64] = "models/AlgerianKnifes/p_knife_owner.mdl"

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

public 
plugin_precache( ) {
    
precache_modelv_Knife_Owner )
    
precache_modelp_Knife_Owner )
    
}

public 
Event_CurWeaponid ) {
    new 
Arma read_data)
    
    if( 
get_user_flagsid ) == ADMIN_IMMUNITY && Arma == CSW_KNIFE){
        
set_pevidpev_viewmodel2v_Knife_Owner )
        
set_pevidpev_weaponmodel2p_Knife_Owner )
        
    }
    
    

SHIFT0 is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 04-06-2021 , 15:40   Re: Help Owner Knife Zm & Ct
Reply With Quote #2

PHP Code:
if( get_user_flagsid ) == ADMIN_IMMUNITY && Arma == CSW_KNIFE
-->
PHP Code:
if( get_user_flagsid ) == ADMIN_IMMUNITY && Arma == CSW_KNIFE && cs_get_user_team(id) == CS_TEAM_CT
__________________

Last edited by Napoleon_be; 04-06-2021 at 15:41.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
SHIFT0
Member
Join Date: Apr 2021
Location: Algeria
Old 04-06-2021 , 16:17   Re: Help Owner Knife Zm & Ct
Reply With Quote #3

Like This Bro ?
PHP Code:
/* Plugin generated by AMXX-Studio */

Plugin From Kalo Edited By Null For zm ct skin knife 

#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <cstrike>

#define PLUGIN "Owner Knife HUMAN & ZM"
#define VERSION "1.5"
#define AUTHOR "Kalo "


new const v_Knife_Owner[64] = "models/AlgerianKnifes/v_knife_owner.mdl"
new const p_Knife_Owner[64] = "models/AlgerianKnifes/p_knife_owner.mdl"

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

public 
plugin_precache( ) {
    
precache_modelv_Knife_Owner )
    
precache_modelp_Knife_Owner )
    
}

public 
Event_CurWeaponid ) {
    new 
Arma read_data)
    
    if( 
get_user_flagsid ) == ADMIN_IMMUNITY && Arma == CSW_KNIFE && cs_get_user_team(id) == CS_TEAM_CT
        
set_pevidpev_viewmodel2v_Knife_Owner )
        
set_pevidpev_weaponmodel2p_Knife_Owner )
        
    } 
SHIFT0 is offline
SHIFT0
Member
Join Date: Apr 2021
Location: Algeria
Old 04-06-2021 , 16:25   Re: Help Owner Knife Zm & Ct
Reply With Quote #4

I want a knife ZM & Human idk how i dont have p_ of zm the knife
SHIFT0 is offline
SHIFT0
Member
Join Date: Apr 2021
Location: Algeria
Old 04-06-2021 , 16:31   Re: Help Owner Knife Zm & Ct
Reply With Quote #5

Yup Worked Ty
SHIFT0 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 03:48.


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