Raised This Month: $ Target: $400
 0% 

[HELP] Set bullets sound/models


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 09-26-2015 , 14:26   [HELP] Set bullets sound/models
Reply With Quote #1

i try to make a Power HE Day with Weapon Model, Bullets (models), Sound

Weapon Model are already added
Code:
RegisterHam( Ham_Item_Deploy, "weapon_deagle",  "FwdPGrenadeDeploy_Post", 1 );
Code:
public  FwdPGrenadeDeploy_Post( iEnt )
{
    if ( g_iCurrentDay != PGRENADES_DAY )
        return 1;
        
    static client;
    
    client = get_pdata_cbase( iEnt, 41, 4 );
    
    if ( !is_user_alive( client ) )
        return 1;
        
    set_pev( client, pev_viewmodel2, g_szPGrenadesViewModel );
    set_pev( client, pev_weaponmodel2, g_szPGrenadesWeaponModel );
    
    return 4;
}
but how can i add a bullet model to see it in game? and sound?

thank to helpers

Last edited by Fuck For Fun; 09-27-2015 at 10:27.
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 09-26-2015 , 15:04   Re: bullets sound/models
Reply With Quote #2

Be more specific...

You want to make bullets fly when grenade is throwed?!
redivcram is offline
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 09-26-2015 , 20:17   Re: bullets sound/models
Reply With Quote #3

Yeah, i want make a Weapon Shot bullet (show bullet throw) and It harms the people it explodes
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
Depresie
Veteran Member
Join Date: Nov 2013
Old 09-28-2015 , 06:33   Re: [HELP] Set bullets sound/models
Reply With Quote #4

you mean something like the rifle from half life? which can launch those explosive bullets by right click?
Depresie is offline
Shiina.Mashiro
Senior Member
Join Date: Sep 2014
Location: Vietnam
Old 09-29-2015 , 10:49   Re: [HELP] Set bullets sound/models
Reply With Quote #5

Create an entity, set its model, and set the velocity from user aiming.
Then hook entity touch, make it explode and you're done.
__________________
Shiina.Mashiro is offline
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 09-29-2015 , 14:31   Re: [HELP] Set bullets sound/models
Reply With Quote #6

Quote:
Originally Posted by Shiina.Mashiro View Post
Create an entity, set its model, and set the velocity from user aiming.
Then hook entity touch, make it explode and you're done.
thank very much =]
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:06.


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