Raised This Month: $ Target: $400
 0% 

Dynamic replace of crosshair sprite


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 06-07-2020 , 10:20   Re: Dynamic replace of crosshair sprite
Reply With Quote #1

Use HUD for replacement spec X hair.
Animated examples to get ideas from.
Code:
///Hide HUD first if you like. #define HIDEHUD_CROSSHAIR   (1<<6) #define m_iHideHUD              361 set_pdata_int(id, m_iHideHUD, get_pdata_int(id, m_iHideHUD) | HIDEHUD_CROSSHAIR);
__________________
DJEarthQuake is offline
Vieni
Member
Join Date: Apr 2018
Old 06-07-2020 , 10:30   Re: Dynamic replace of crosshair sprite
Reply With Quote #2

Quote:
Originally Posted by DJEarthQuake View Post
Use HUD for replacement spec X hair.
Animated examples to get ideas from.
Code:
///Hide HUD first if you like. #define HIDEHUD_CROSSHAIR   (1<<6) #define m_iHideHUD              361 set_pdata_int(id, m_iHideHUD, get_pdata_int(id, m_iHideHUD) | HIDEHUD_CROSSHAIR);
Want to use custom sprites, as this I could show achivement sprites and stuff for the players on screen.
Vieni is offline
Reply



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 17:05.


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