AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   [ReQ] Block Model (https://forums.alliedmods.net/showthread.php?t=262406)

Linkin Hisoka 05-03-2015 18:08

[ReQ] Block Model
 
i put in my server
model/player/xx

and i see model of xx and other original model gign ...
i need a plugin to block the original models [GiGn - Arctic - Urban..]
and tnx :shock:

Mr.Pro 05-03-2015 18:44

Re: [ReQ] Block Model
 
you can change it for my zp
i go to config/zombieplague.ini
and remove unwanted models like gigin & urban
because if they are there models are chosen randomly

Linkin Hisoka 05-04-2015 07:07

Re: [ReQ] Block Model
 
no i search a plugin to block model not a zp and .. -_-

Linkin Hisoka 05-04-2015 13:36

Re: [ReQ] Block Model
 
nobody ?

BaD CopY 05-04-2015 13:48

Re: [ReQ] Block Model
 
14 days before you bump...

Mr.Pro 05-04-2015 17:26

Re: [ReQ] Block Model
 
buddy i gave you an example -_-
look in config you will find an ini there according to ur plugin where you can edit and change models for players

Linkin Hisoka 05-04-2015 18:18

Re: [ReQ] Block Model
 
Quote:

14 days before you bump...
o.O what?

Linkin Hisoka 05-04-2015 18:24

Re: [ReQ] Block Model
 
i put this plugin in server and i see model in the plugin and normal original models GiGn - Urban - ...


Code :
PHP Code:

#include <amxmodx>
#include <cstrike>

public plugin_init() {
    
register_plugin("Players Models""1.0""Medox*")
    
register_event("ResetHUD""Reset_Model""b")
    
}

public 
plugin_precache(){
    
    
precache_model "models/player/ng_furien/ng_furien.mdl";
    
precache_model "models/player/ng_antifurien/ng_antifurien.mdl";
    
precache_model "models/player/ng_antifurien_admin/ng_antifurien_admin.mdl";      
}

public 
Reset_Model(id)
{
    if (
cs_get_user_team(id) == CS_TEAM_T){
        
cs_set_user_model(id"ng_furien");
    }
    else     
        if(
cs_get_user_team(id) == CS_TEAM_CT){
        
cs_set_user_model(id"ng_antifurien");
    }
    
    if(
get_user_flags(id) & ADMIN_KICK){
        if (
cs_get_user_team(id) == CS_TEAM_CT){
            
cs_set_user_model(id"ng_antifurien_admin");
        }
    }



Linkin Hisoka 05-04-2015 18:29

Re: [ReQ] Block Model
 
you know now on what i was talking?

Mr.Pro 05-05-2015 05:29

Re: [ReQ] Block Model
 
look buddy in fuien mod this is mine

amxmodm/players_models.ini
Quote:

;T
"arctic" "FurienModel"
"guerilla" "FurienModel"
"leet" "FurienModel"
"terror" "FurienModel"


;CT
"sas" "AntiFurienModel"
"gign" "AntiFurienModel"
"gsg9" "AntiFurienModel"
"urban" "AntiFurienModel"
so any of the old models will change to what you select
and sorry i don't know any thing in scripting :D


All times are GMT -4. The time now is 20:09.

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