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

Solved Show Head Attachment


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 09-13-2021 , 00:32   Show Head Attachment
Reply With Quote #1

I found this Attachment from InfiniteGame module quite nice and I want to use it in my mod.

PHP Code:
IG_PlayerAttachment(id, const Sprite[], Float:TimeFloat:ScaleFloat:FrameRate); 
I used to used "create entity then make it update origin" way but it seem really smooth with InfiniteGame.
Anyone know how they actually do it? Hook Radio Icon?
__________________
My plugin:

Last edited by Celena Luna; 09-13-2021 at 04:45.
Celena Luna is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 09-13-2021 , 04:28   Re: Show Head Attachment
Reply With Quote #2

Did you search TE_PLAYERATTACHMENT?

Example 1 team glow --hooked to flashlight

Example 2 winter breath --hooked to being alive and outside

TE_PLAYERATTACHMENT does not HAVE to be hooked to radio command.
__________________

Last edited by DJEarthQuake; 09-13-2021 at 04:33.
DJEarthQuake is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 09-13-2021 , 04:45   Re: Show Head Attachment
Reply With Quote #3

Ahhh I see
it is TE_PLAYERATTACHMENT
I totally forgot this TE. Thank you
__________________
My plugin:
Celena Luna is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 09-13-2021 , 04:55   Re: Show Head Attachment
Reply With Quote #4

Welcome. There's TE_KILLPLAYERATTACHMENTS also if there's a need to end it immediately.
__________________
DJEarthQuake is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 09-13-2021 , 04:56   Re: Show Head Attachment
Reply With Quote #5

I see. That would help a lot
Is it possible to put up 2 TE_PLAYERATTACHEMNT on same player at the same time?
__________________
My plugin:

Last edited by Celena Luna; 09-13-2021 at 04:56.
Celena Luna is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 09-13-2021 , 05:22   Re: Show Head Attachment
Reply With Quote #6

Sure can. I do it all the time.
__________________
DJEarthQuake is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 09-13-2021 , 05:32   Re: Show Head Attachment
Reply With Quote #7

I see
Thank you for your fast response ^^
__________________
My plugin:
Celena Luna 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 21:30.


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