[Module] How do I recreate Director HUD Message as a module?
Title is pretty self-explanatory. I would like to recreate Arkshine's dhudmessage.inc in CPP and tried doing like in the presented code. I've tried both MSG_ONE and MSG_ONE_UNRELIABLE.
Code:
void DHudMessage(CBasePlayer* pPlayer, hudtextparms_t textparms, std::string text) { |
Re: [Module] How do I recreate Director HUD Message as a module?
The solution was basically converting (not directly casting) all float values to long. Hence WRITE_LONG.
|
All times are GMT -4. The time now is 03:44. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.