Raised This Month: $9 Target: $400
 2% 

[req] edit please


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
FLOY
Senior Member
Join Date: Dec 2013
Location: I love to www.steam.lv
Old 02-13-2021 , 17:27   [req] edit please
Reply With Quote #1

Quote:
/*============================================ ====================================
Библиотеки
============================================= ====================================*/
#include <amxmodx>
#include <fakemeta_util>
#include <hamsandwich>
/*============================================ ====================================
Загрузка файлов
============================================= ====================================*/
new v_knife [] = "models/jd_knife/v_knife_jd.mdl"
new p_knife [] = "models/jd_knife/p_knife_jd.mdl"
new v_knife2 [] = "models/v_knife.mdl"
new p_knife2 [] = "models/p_knife.mdl"
/*============================================ ====================================
Данные о плагине
============================================= ====================================*/
public plugin_init()
{
register_plugin("VIP KNIFE JD", "1.0", "Jack Daniel`s")
RegisterHam(Ham_Item_Deploy, "weapon_knife", "knife_user", 1)
}

public plugin_precache()
{
precache_model(v_knife)
precache_model(p_knife)
precache_model(v_knife2)
precache_model(p_knife2)
}
/*============================================ ====================================
Гл. Функция
============================================= ====================================*/
public knife_user(wpn)
{
static id; id = get_pdata_cbase(wpn, 41, 4)
if(get_user_flags(id) & ADMIN_LEVEL_H)
{
set_pev(id, pev_viewmodel2, v_knife)
set_pev(id, pev_weaponmodel2, p_knife)
}
else
{
set_pev(id, pev_viewmodel2, v_knife2)
set_pev(id, pev_weaponmodel2, p_knife2)
}
}
/*============================================ ====================================
Концовка
============================================= ====================================*/
can edit not work i not see 3 weapon skins knife degle ak m4 awp
__________________
homepage:steam.lv
topsites:top.steam.lv
FLOY is offline
Send a message via Skype™ to FLOY
 


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 18:22.


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