AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   hide someone on radar (https://forums.alliedmods.net/showthread.php?t=45606)

jim_yang 10-07-2006 02:30

hide someone on radar
 
how to do this? thanks

VEN 10-07-2006 04:29

Re: hide someone on radar
 
Code:
//... register_message(get_user_msgid("Radar"), "message_radar") //...   public message_radar() {     if (get_msg_arg_int(1) == index_of_someone)         return PLUGIN_HANDLED     return PLUGIN_CONTINUE }

Silencer123 10-07-2006 05:13

Re: hide someone on radar
 
As that is answered,
a better question: How do I make a Radar in a Game which does not have one? O_o
Well my biggest Problem is, how shall I display it.
I can do everything with angles and origins and stuff, but how would I display that then?
I think it will be suice using Hudmessages with a "." inside. ^^
How about displaying sprites on screen. (I think that has been asked 1000 times but was never answered)

Zenith77 10-07-2006 13:06

Re: hide someone on radar
 
You can only display sprites that have already been added (meaning coded) and precached in the game itself. Unless the client has a hack.

Silencer123 10-07-2006 13:49

Re: hide someone on radar
 
Doh no precache_sprite()?
But what about UWC3 the mend wounds
and repair armor sprites above players heads?
And how do I display one then?

SweatyBanana 10-07-2006 13:49

Re: hide someone on radar
 
precache_generic

MaximusBrood 10-07-2006 13:59

Re: hide someone on radar
 
Sprites stick on the map, not on the HUD.
End of story, you can't stick a sprite onto the HUD without hacking the client dll.

VEN 10-07-2006 14:12

Re: hide someone on radar
 
Quote:

Doh no precache_sprite()?
precache_model are able to precache sprites.


Quote:

sprites above players heads?
TE_PLAYERATTACHMENT (see message_const.inc for details)

Silencer123 10-07-2006 14:38

Re: hide someone on radar
 
[REQ]

Code:
public hack_user_clientdll(id) {     // Do Stuff }

:gyar:


All times are GMT -4. The time now is 04:50.

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