Raised This Month: $51 Target: $400
 12% 

Solved use one model


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
amirwolf
Senior Member
Join Date: Feb 2019
Location: Iran
Old 02-13-2024 , 08:00   use one model
Reply With Quote #1

Hello
In my servers, I saw that they use one model to set the weapon and player models
Is there a tutorial to use it?
__________________

Last edited by amirwolf; 02-17-2024 at 12:31.
amirwolf is offline
metal_upa
Senior Member
Join Date: Jun 2016
Old 02-13-2024 , 08:59   Re: use one model
Reply With Quote #2

After model changed use these:
- set_pev(iPlayer, pev_body, iBody) -- to set body group
- set_pev(iPlayer, pev_skin, iSkin) -- to set model skin
metal_upa is offline
amirwolf
Senior Member
Join Date: Feb 2019
Location: Iran
Old 02-13-2024 , 11:38   Re: use one model
Reply With Quote #3

Are there other methods?
__________________
amirwolf is offline
mlibre
Veteran Member
Join Date: Nov 2015
Location: return PLUGIN_CONTINUE
Old 02-13-2024 , 11:41   Re: use one model
Reply With Quote #4

PHP Code:
entity_set_int(idEV_INT_skinnumber
__________________
mlibre is offline
amirwolf
Senior Member
Join Date: Feb 2019
Location: Iran
Old 02-13-2024 , 11:56   Re: use one model
Reply With Quote #5

Thanks
__________________
amirwolf is offline
Reply



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 17:04.


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