Raised This Month: $ Target: $400
 0% 

[REQ]Radar changes


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
035596266
Member
Join Date: Jan 2009
Old 05-30-2009 , 04:24   [REQ]Radar changes
Reply With Quote #1

How do I change my logo to the radar ?

PHP Code:
http://forums.alliedmods.net/showthread.php?t=52529&highlight=hud.txt 
The production of this article can use plug-ins ?

Sorry, I am from Taiwan
035596266 is offline
035596266
Member
Join Date: Jan 2009
Old 05-31-2009 , 12:11   Re: [REQ]Radar changes
Reply With Quote #2

PHP Code:
#include <amxmodx>
#include <fakemeta>


new iconstatus;

public 
plugin_init() {
    
register_plugin("Status Icon","0.1","SAMURAI");
    
    
register_forward(FM_PlayerPreThink,"fw_prethink");
    
iconstatus get_user_msgid("StatusIcon");
    
}

public 
fw_prethink(id)
{
    if(!(
pev(id,pev_button) & FL_ONGROUND))
    {    
        
message_begin(MSG_ONE,iconstatus,{0,0,0},id);
        
write_byte(0); // status (0=hide, 1=show, 2=flash)
        
write_string("radar"); // sprite name
        
write_byte(0); // red
        
write_byte(0); // green
        
write_byte(0); // blue
        
message_end();
    }
    

What remains to be how to fix ?
035596266 is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 05-31-2009 , 12:56   Re: [REQ]Radar changes
Reply With Quote #3

That code is totally wrong... and it's taken from that tutorial, lewl =)

What do you really want to do ? speak proper english if you want help :}
__________________
Hunter-Digital is offline
035596266
Member
Join Date: Jan 2009
Old 05-31-2009 , 13:08   Re: [REQ]Radar changes
Reply With Quote #4

I just want to know how to change so that everyone can see the radar, like me
035596266 is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 05-31-2009 , 16:58   Re: [REQ]Radar changes
Reply With Quote #5

What mod ?

In CS everyone HAS radar... unless they type "hideradar" in console... "drawradar" brings it back.. but that's client side

Explain more what you mean by everyone see the radar like you...
__________________
Hunter-Digital is offline
035596266
Member
Join Date: Jan 2009
Old 05-31-2009 , 23:10   Re: [REQ]Radar changes
Reply With Quote #6

Is it not produced ?
I know hideradar possible, but I will not
035596266 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-31-2009 , 23:22   Re: [REQ]Radar changes
Reply With Quote #7

Quote:
Originally Posted by 035596266 View Post
Is it not produced ?
I know hideradar possible, but I will not
What?????????
__________________
fysiks is offline
035596266
Member
Join Date: Jan 2009
Old 06-01-2009 , 13:05   Re: [REQ]Radar changes
Reply With Quote #8

PHP Code:
#include <amxmodx>
#include <fakemeta>
 
new radar
 
public plugin_init()
{
       
register_plugin("Radar","0.1","jiunnwoei2629")
       
register_message(get_user_msgid("Radar"), "radar_block")
}
 
public 
radar_block()
{
       
message_begin(MSG_ONEget_user_msgid("Radar"), _id)
       
write_string("radar")
       
write_byte(0)
       
write_byte(0)
       
write_byte(0)
       
message_end()
       return 
PLUGIN_HANDLED

This is correct
Please help correct mistakes

I refer to this
PHP Code:
http://wiki.amxmodx.org/index.php/Half-Life_1_Game_Events#Crosshair 

Last edited by 035596266; 06-02-2009 at 10:53.
035596266 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 13:48.


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