+- +-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

Author Topic: [REQ] VIP are knife and all see this  (Read 57 times)

0 Members and 0 Guests are viewing this topic.

FLOY

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
[REQ] VIP are knife and all see this
« on: August 18, 2019, 07:22:46 am »
Vipas has a knife skins that immediately appear when you log on to the server

Share on Facebook Share on Twitter


DON KHAN

  • My Bio
  • FoundeR
  • Hero Member
  • *****
  • Posts: 5046
  • Karma: +0/-0
  • Gender: Male
  • Scriptor, Model Editor, Bug Fixer And Student
  • Location: Karachi
    • View Profile
    • Ro{Y}aL WarLanD Community
Re: [REQ] VIP are knife and all see this
« Reply #1 on: August 20, 2019, 12:56:37 pm »
Here is the code:
Code: [Select]
#include <amxmodx>
#include <fakemeta>
#include <cstrike>

new const g_ModelKnifeCT[] = "models/vip/ct_knife.mdl"
new const g_ModelKnifeTE[] = "models/vip/tr_knife.mdl"

public plugin_init()
{
    register_plugin("Knife models", "1.0", "Daminou & DON KHAN")
     
    register_event("CurWeapon", "model_knife", "b")
}

public plugin_precache() 

    precache_model(g_ModelKnifeCT) 
    precache_model(g_ModelKnifeTE) 
}

public model_knife(id)
{
    if(is_user_alive(id) && is_user_connected(id) & get_user_flags(id) & ADMIN_LEVEL_H)
    {
        new clip, ammo
        new knife = get_user_weapon(id, clip, ammo)
        if(knife == CSW_KNIFE)
        {
            switch(cs_get_user_team(id))
            {
                case CS_TEAM_CT:
                {
                    set_pev(id, pev_viewmodel2, g_ModelKnifeCT)
                }
                case CS_TEAM_T:
                {
                    set_pev(id, pev_viewmodel2, g_ModelKnifeTE)
                }
            }
        }
    }
Selling Mods.
PM Me If You Want Any Plugin.
Facebook:- https://www.facebook.com/cs.pro.usman
Youtube:- PC Gaming And Technology With Usman
My Introduction:- Muslim, Student, Scriptor At Counter Strike 1.6, Bug Fixer And Model Editor.
To Download Any Game Visit Here:- http://crazygamers.ucoz.net/

 

+-Recent Topics

Need mod :/ by bacem
October 13, 2019, 05:49:09 am

Rules by DON KHAN
August 28, 2019, 01:50:29 pm

[REQ] VIP are knife and all see this by DON KHAN
August 20, 2019, 12:56:37 pm

Advance VIP Menu [Public, CSDM & Furien] by DON KHAN
June 22, 2019, 11:50:05 am

For Umbrella Swarm mod by DON KHAN
June 22, 2019, 08:13:26 am

[ZP] VIP Model by DON KHAN
June 17, 2019, 08:57:35 am

[ZP] SVIP Plugin by DON KHAN
June 13, 2019, 11:43:24 am

Updates / Helpful BBC Codes For Your Post by DON KHAN
June 09, 2019, 03:01:39 am

BHOP Script by DON KHAN
June 08, 2019, 01:40:41 pm

[Solved][Request] Bank Plugin Counte Strike 1.6 by DON KHAN
June 06, 2019, 11:11:20 pm