fw_setmodel cant detect a model
Code:
but if (equali ( model = NOT . I need to make backpack.mdl invisible so the others cant see who carries the bomb ) |
Re: fw_setmodel cant detect a model
PHP Code:
also c4 model will be set to backpack if it is dropped. Anyway, try to check if the entity is valid |
Re: fw_setmodel cant detect a model
Yes w_backpack works thank you. but I want to change it on terrorist`s back .
the model still looks like backpack on terrorists back. but on the ground it changes corectly |
Re: fw_setmodel cant detect a model
Because backpack on player models is submodel of player model.
[IMG]http://imagizer.**************/v2/800x600q90/9/spf0.jpg[/IMG] |
Re: fw_setmodel cant detect a model
ok
/* 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); |
Re: fw_setmodel cant detect a model
I usually use set_pev(id, pev_body, the value);
|
Re: fw_setmodel cant detect a model
entity_set_int(player1, EV_INT_body, 0) do the same i think
need more testing. |
Re: fw_setmodel cant detect a model
What are you actually gonna do?
|
Re: fw_setmodel cant detect a model
no its done, thank you for help
backpack is invisible when T has the bomb
Spoiler
|
| All times are GMT -4. The time now is 10:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.