Setting w_ Grenade Models
How do we set custom models for w_ models?
If v_ and p_ i could just use pev_viewmodel2 and pev_weaponmodel2 |
Re: Setting w_ Grenade Models
The w_ model is the weapon entity's model, so just use this:
Code:
|
Re: Setting w_ Grenade Models
when do we set it? and in which forward?
|
Re: Setting w_ Grenade Models
This will turn your hegrenades into awps when thrown.
PHP Code:
|
Re: Setting w_ Grenade Models
lol. thanks Bugsy!
btw what does this mean? if ( !(1 <= id <= g_MaxClients) ) |
Re: Setting w_ Grenade Models
That checks if "id" is given a valid player index, because player indexes range from 1 -> (max players allowed in server).
|
Re: Setting w_ Grenade Models
I would do somethinkg like this :
Won't work with thrown nades (can be done in Ham_Spawn forward) and won't work for planted c4. PHP Code:
|
| All times are GMT -4. The time now is 17:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.