How to add an Entity to the player Radar ?
How to add an entity to player radar. ?
Like this: http://whisper.ausgamers.com/wiki/images/Rdrdpbm_hd.gif |
Re: How to add an Entity to the player Radar ?
For CT's: Send the HostagePos and HostageK messages.
(Note: It blinks for 2 seconds then goes away) For T's: Send the BombDrop message. I personally haven't used this message but should be somewhat similar. |
Re: How to add an Entity to the player Radar ?
What about for both ?.
Can you make an example code please ? |
Re: How to add an Entity to the player Radar ?
HostagePos and HostageK works for both teams.
Example code: Code:
message_begin(MSG_BROADCAST, gMsg_HostagePos) |
Re: How to add an Entity to the player Radar ?
Use HostagePos only when you initialize the thing, and send HostageK every 2.0 seconds.
If the entity is moving, then send again HostagePos. |
Re: How to add an Entity to the player Radar ?
Oh. Thanks You so much :D. Now i understand about this
@Hunter-Digital: - Is iOrigin is the origin of the Entity ? |
Re: How to add an Entity to the player Radar ?
Yes.
|
Re: How to add an Entity to the player Radar ?
Oh Thank :D
|
| All times are GMT -4. The time now is 19:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.