AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   different models for different player models (https://forums.alliedmods.net/showthread.php?t=300885)

undead52 09-02-2017 07:19

different models for different player models
 
in ghw weapon replacemant works like that
"models/v_m4a1.mdl" "models/uwc/v_m4a1.mdl" "CT"

but i wanna like this
"models/v_m4a1.mdl" "models/uwc/v_m4a1.mdl" "urban"

i want to make different weapon models for different player models

is it possible to someone make it ?

undead52 09-03-2017 08:13

Re: different models for different player models
 
i wanna make different weapon models for different player models if he selected sas he will use m4a1_sas if he selected urban he will use m4a1_urban that what i want

is it able to do ?

D3XT3R 09-04-2017 08:37

Re: different models for different player models
 
i gess you litel crazy or something like that why the point if you maked it for a model of players and players get selected thier models o_O

undead52 09-04-2017 13:12

Re: different models for different player models
 
i wanna make different model gloves like these pictures.check them
example.1.photo is for gign 2.photo is for urban
https://i.hizliresim.com/y3Y27j.png
https://i.hizliresim.com/Ak4ZRL.png

kristi 09-04-2017 14:04

Re: different models for different player models
 
https://forums.alliedmods.net/showthread.php?t=250244

undead52 09-04-2017 14:10

Re: different models for different player models
 
it doesnt that function.i trying to do it myself but i cant.i need to get user player model info and if that info is true it will change player weapon models

kristi 09-04-2017 14:13

Re: different models for different player models
 
Oh yeah sorry, it doesn't have that function.

You may request it on the plugin thread maybe it can be added.

undead52 09-04-2017 14:57

Re: different models for different player models
 
i trying to make it but. cant go more.the viewmodel need equal to what he have gun.i did this with copy-paste but cant go more
Code:

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

new AK47[] = "models/uwc/v_AK47.mdl"
new M4A1[] = "models/uwc/v_M4A1.mdl"
new AUG[] = "models/uwc/v_AUG.mdl"

cs_get_user_model(id, model, charsmax(model))
cs_get_weapon_info(weapon_id, CsWeaponInfo:type)
cs_get_weapon_id(index)

public plugin_init()
{
    register_plugin("Silah",VERSION,"Artorias");
    register_event("CurWeapon", "Event_CurWeapon", "be","1=1")
    register_forward(FM_SetModel, "fw_SetModel")
        RegisterHam(Ham_Spawn, "player", "Spawn", 1)
}

public plugin_precache()
{   
    precache_model(AK47)   
    precache_model(M4A1)
    precache_model(AUG)
}

public Spawn(id)
        if (equal(model, "urban))
        {
        public fw_SetModel
                        {
                                set_pev(id, pev_viewmodel2, VIEW_MODEL)
                               
                                return PLUGIN_CONTINUE
                        }
    }
    return HAM_IGNORED
}


FR0NTLINE 09-04-2017 19:35

Re: different models for different player models
 
you may need models made, If your willing to pay i have friends that make models for the past 15 years. Everything is possible.

undead52 09-05-2017 03:28

Re: different models for different player models
 
i have already models only need plugin


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

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