Raised This Month: $ Target: $400
 0% 

different models for different player models


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
undead52
Senior Member
Join Date: Dec 2016
Old 09-02-2017 , 07:19   different models for different player models
Reply With Quote #1

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 ?

Last edited by undead52; 09-03-2017 at 04:59.
undead52 is offline
undead52
Senior Member
Join Date: Dec 2016
Old 09-03-2017 , 08:13   Re: different models for different player models
Reply With Quote #2

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 ?
undead52 is offline
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 09-04-2017 , 08:37   Re: different models for different player models
Reply With Quote #3

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
__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
undead52
Senior Member
Join Date: Dec 2016
Old 09-04-2017 , 13:12   Re: different models for different player models
Reply With Quote #4

i wanna make different model gloves like these pictures.check them
example.1.photo is for gign 2.photo is for urban


Last edited by undead52; 09-04-2017 at 13:19.
undead52 is offline
kristi
Senior Member
Join Date: Nov 2016
Old 09-04-2017 , 14:04   Re: different models for different player models
Reply With Quote #5

https://forums.alliedmods.net/showthread.php?t=250244
kristi is offline
Send a message via Skype™ to kristi
undead52
Senior Member
Join Date: Dec 2016
Old 09-04-2017 , 14:10   Re: different models for different player models
Reply With Quote #6

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

Last edited by undead52; 09-04-2017 at 14:11.
undead52 is offline
kristi
Senior Member
Join Date: Nov 2016
Old 09-04-2017 , 14:13   Re: different models for different player models
Reply With Quote #7

Oh yeah sorry, it doesn't have that function.

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

Last edited by kristi; 09-04-2017 at 14:16.
kristi is offline
Send a message via Skype™ to kristi
undead52
Senior Member
Join Date: Dec 2016
Old 09-04-2017 , 14:57   Re: different models for different player models
Reply With Quote #8

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 
}
undead52 is offline
FR0NTLINE
AlliedModders Donor
Join Date: Apr 2006
Location: Riverside Cali
Old 09-04-2017 , 19:35   Re: different models for different player models
Reply With Quote #9

you may need models made, If your willing to pay i have friends that make models for the past 15 years. Everything is possible.
__________________
FR0NTLINE is offline
Send a message via AIM to FR0NTLINE Send a message via MSN to FR0NTLINE Send a message via Yahoo to FR0NTLINE
undead52
Senior Member
Join Date: Dec 2016
Old 09-05-2017 , 03:28   Re: different models for different player models
Reply With Quote #10

i have already models only need plugin
undead52 is offline
Reply


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 09:55.


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