AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Owner Knife FLAG "A" (https://forums.alliedmods.net/showthread.php?t=343588)

SHIFT0 08-08-2023 22:16

Owner Knife FLAG "A"
 
Hello guys !
Can someone help me i want Owner Knife Skin Only For CT For Immunity ADMIN ACCESS
models/knife_owner/knife_owner.mdl
Any HELP Please !

sPed 08-10-2023 10:49

Re: Owner Knife FLAG "A"
 
chouf zoj hado ysa3douk
https://forums.alliedmods.net/showthread.php?t=284510
https://forums.alliedmods.net/showthread.php?t=161813

SHIFT0 08-10-2023 13:25

Re: Owner Knife FLAG "A"
 
Quote:

Originally Posted by sPed (Post 2808445)

Mrc aymen hbb <3 xd
Mais rak t3rf ZU li9 rir ll CT

fysiks 08-10-2023 22:07

Re: Owner Knife FLAG "A"
 
This is an English forum, did you find what you needed?

SHIFT0 08-11-2023 00:22

Re: Owner Knife FLAG "A"
 
Quote:

Originally Posted by fysiks (Post 2808472)
This is an English forum, did you find what you needed?

I still didnt find owner knife immunity access fot ct only

Tote 08-11-2023 03:57

Re: Owner Knife FLAG "A"
 
not my code, just edited to be for ct & flag immunity.


#include <amxmodx>
#include <fakemeta>
#include <cstrike>
#include <hamsandwich>

#define PLUGIN "Admin knife"
#define VERSION "1.0"
#define AUTHOR "PlayBoy"

#define ADMIN_FLAG ADMIN_IMMUNITY

new const vKnife[ 64 ] = "models/v_Admin_Knife.mdl" // knife Model

public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event( "CurWeapon", "Event_CurWeapon", "be", "1=1" )

}

public plugin_precache( ) {
precache_model( vKnife )

}

public Event_CurWeapon( id ) {
new Arma = read_data( 2 )

if( get_user_flags( id ) == ADMIN_FLAG && Arma == CSW_KNIFE && cs_get_user_team(id) & CS_TEAM_CT){
set_pev( id, pev_viewmodel2, vKnife )

}


}

SHIFT0 08-11-2023 12:44

Re: Owner Knife FLAG "A"
 
Quote:

Originally Posted by Tote (Post 2808488)
not my code, just edited to be for ct & flag immunity.


#include <amxmodx>
#include <fakemeta>
#include <cstrike>
#include <hamsandwich>

#define PLUGIN "Admin knife"
#define VERSION "1.0"
#define AUTHOR "PlayBoy"

#define ADMIN_FLAG ADMIN_IMMUNITY

new const vKnife[ 64 ] = "models/v_Admin_Knife.mdl" // knife Model

public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event( "CurWeapon", "Event_CurWeapon", "be", "1=1" )

}

public plugin_precache( ) {
precache_model( vKnife )

}

public Event_CurWeapon( id ) {
new Arma = read_data( 2 )

if( get_user_flags( id ) == ADMIN_FLAG && Arma == CSW_KNIFE && cs_get_user_team(id) & CS_TEAM_CT){
set_pev( id, pev_viewmodel2, vKnife )

}


}



Then Ty very much bro


All times are GMT -4. The time now is 01:05.

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