Raised This Month: $12 Target: $400
 3% 

How to play muzzleflash on a player weapon?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Natsheh
Veteran Member
Join Date: Sep 2012
Old 09-04-2022 , 08:01   How to play muzzleflash on a player weapon?
Reply With Quote #1

How is it possible to play muzzleflash on a player weapon entity using client temporary entities
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
DeMNiX
Veteran Member
Join Date: Nov 2011
Location: Russia
Old 09-06-2022 , 02:46   Re: How to play muzzleflash on a player weapon?
Reply With Quote #2

Quote:
using client temporary entities
no way

try to use custom env_sprite entity
https://github.com/YoshiokaHaruki/AMXX-API-Muzzle-Flash
__________________
My channel with test codes
https://www.youtube.com/user/demnix03

Zombie Riot [Scenario & bots-zombie 11.11.2023]
https://youtu.be/8ZZan-aq2sc
DeMNiX is offline
MrPickles
Senior Member
Join Date: Aug 2022
Location: Colombia
Old 09-09-2022 , 18:13   Re: How to play muzzleflash on a player weapon?
Reply With Quote #3

Quote:
Originally Posted by Natsheh View Post
How is it possible to play muzzleflash on a player weapon entity using client temporary entities
if the p model have the animation of shooting, u can put it in the .qc with an event

PHP Code:
$sequence ref_shoot "ref_shoot" loop fps 35 event 5001 6 } { event 5001 13 } { event 5001 24 } { event 5001 27 } { event 5001 31 
5001 is the event of muzzleflash, and 6, 13, etc are the frames

Last edited by MrPickles; 09-09-2022 at 18:14.
MrPickles is offline
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 09:56.


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