AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Get Weapon Animations (https://forums.alliedmods.net/showthread.php?t=232596)

DavidJr 01-02-2014 04:22

Get Weapon Animations
 
How do I get the draw animation for every weapon? I want deploy animation.

PHP Code:

RegisterHam(Ham_Item_Deploy"weapon_m3""fwd_Deploy_Pre"0)

public 
fwd_Deploy_Pre(ent)
{
    static 
id get_pdata_cbase(ent414)
    new 
anim pev(idpev_weaponanim)


I don't want this answer because I block the Deploy_Pre.

Arkshine 01-02-2014 05:42

Re: Get Weapon Animations
 
Explain first, what you want REALLY to do. Please don't start a XY problem.

DavidJr 01-02-2014 05:49

Re: Get Weapon Animations
 
Just block precache of v_ models and prevent the error precache by blocking deploy. Nevermind, already solved by another method.

PHP Code:

set_pev(idpev_viewmodel2""



All times are GMT -4. The time now is 10:04.

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