Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Jop
#8
PHP Code:
/* Plugin generated by AMXX-Studio */

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

#define PLUGIN "Jop"
#define VERSION "1.0"
#define AUTHOR "Nemesis"

new const P_KNIFE[] = "models/ozanjop2.mdl";
new const 
V_KNIFE[] = "models/ozanjop.mdl";

public 
plugin_init() {
    new 
mapname[32];
    
get_mapname(mapname,31)
    if((
containi(mapname,"jail") != -1) || (containi(mapname,"jb_") != -1) ) {
        
register_plugin(PLUGINVERSIONAUTHOR)
        
        
register_event("CurWeapon","eCurWeapon","be","1=1")
    }
}
public 
plugin_precache() {
    
precache_model(P_KNIFE)
    
precache_model(V_KNIFE)
}
public 
eCurWeapon(id) {
    if((
get_user_team(id) == 2) && (get_user_weapon(id) == CSW_KNIFE)) {
        
set_pev(id,pev_viewmodel2,V_KNIFE)
        
set_pev(id,pev_weaponmodel2,P_KNIFE)
    }


Modelleri models klasörüne at.


CS:GO ve CS 1.6 için ücretli eklenti yapılır.
Plugin yazmak isteyenlere yardımcı olabilirim.
Skype adresimden ulaşabilirsiniz:
destek_596
Steam: http://steamcommunity.com/id/ca-nemesis/

Reply


Messages In This Thread
Jop - by mertcanen - 26-01-13, 12:55
Cevap: Jop - by akcaliberkk - 26-01-13, 14:36
Cevap: Jop - by mertcanen - 26-01-13, 18:03
Cevap: Jop - by gm_dely - 26-01-13, 18:26
Cevap: Jop - by mertcanen - 26-01-13, 18:35
Cevap: Jop - by akcaliberkk - 26-01-13, 22:37
Cevap: Jop - by mertcanen - 27-01-13, 01:53
Cevap: Jop - by akcaliberkk - 28-01-13, 17:01
Cevap: Jop - by mertcanen - 28-01-13, 17:06
Cevap: Jop - by akcaliberkk - 31-01-13, 01:06

Foruma Atla:


Users browsing this thread: