AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Shield model (https://forums.alliedmods.net/showthread.php?t=222270)

dram 07-31-2013 19:11

Shield model
 
Hello.

I know how to change model for all p_models/ v_models etc. etc.

But how to change model for SHIELD? (and know what player is using shield at this moment)

P models / v models and w models

fl0werD 07-31-2013 19:25

Re: Shield model
 
Hook Ham_Spawn post for weapon_shield and change w_ model.
Or hook FM_SetModel check classname "weapon_shield" block forward and change w_model.

r3p 08-01-2013 00:57

Re: Shield model
 
if(get_user_weapon(id) = CSW_SHIELD ..... etc

i hope u understand :D

dram 08-02-2013 16:56

Re: Shield model
 
if(get_user_weapon(id) = CSW_SHIELD

U kidding me ?

--
is possible to run cur_weapon event when

- A weapon is give to player. ( when player dont switch weapon) by event not by adding current_weapon function after give item.


All times are GMT -4. The time now is 15:57.

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