PDA

View Full Version : pev_body ? How to use it ?


5c0r-|3i0
06-10-2010, 05:25
Question above.......
I found this (http://garrens.com/xPaw/pev_research.html)...a pev_ research :D
And I wonder how to set the backpack model for player :D ?
Anyone can help me with this :oops:

Arkshine
06-10-2010, 06:10
Try set_pev( id, pev_body, 1 );

Alucard^
06-10-2010, 06:50
Is the same as this?:

/* Returns the submodel setting of the player.
* If this is 1, then the user has a backpack or defuser on their model (depending on team)
*/
native cs_get_user_submodel(index);

/* Sets the submodel setting of the player.
* If this is 1, then the user has a backpack or defuser on their model (depending on team)
* 0 removes it.
*/
native cs_set_user_submodel(index, value);

Arkshine
06-10-2010, 07:01
Well yes. ^^

5c0r-|3i0
06-10-2010, 07:57
Wow...it works...thanks >"< .