This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

|problem| Console command


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 04-18-2015 , 06:04   |problem| Console command
Reply With Quote #1

Is it possible to move this
Attached Images
File Type: jpg PGquVTr.jpg (67.6 KB, 208 views)
Krtola is offline
Send a message via Skype™ to Krtola
Phant
Veteran Member
Join Date: Sep 2009
Location: New Jersey
Old 04-18-2015 , 07:58   Re: |problem| Console command
Reply With Quote #2

No way.
Maybe via thin game client hacking/patching.
Phant is offline
Send a message via ICQ to Phant
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 04-18-2015 , 08:32   Re: |problem| Console command
Reply With Quote #3

Quote:
Originally Posted by Phant View Post
No way.
Maybe via thin game client hacking/patching.
I was hoping that there is some command for console,but ok...
Krtola is offline
Send a message via Skype™ to Krtola
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 04-19-2015 , 11:43   Re: |problem| Console command
Reply With Quote #4

Remove them and create some fake huds, but it won't be the same and it will also hide the radar.
__________________
HamletEagle is offline
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 04-23-2015 , 09:21   Re: |problem| Console command
Reply With Quote #5

Quote:
Originally Posted by HamletEagle View Post
Remove them and create some fake huds, but it won't be the same and it will also hide the radar.
But,how can I remove that?
Krtola is offline
Send a message via Skype™ to Krtola
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 04-23-2015 , 11:39   Re: |problem| Console command
Reply With Quote #6

PHP Code:
// . . .

#define HIDE_HUD_HEALTH (1<<3)

// . . .

public plugin_init()
{
    
// . . .

    
register_message(MsgHideWeapon"msg_hideweapon")

    
// . . .
}

public 
msg_hideweapon()
{
    
// Block HP/AP/Radar if not being blocked, must block all 3 can not individually be done
    
set_msg_arg_int(1ARG_BYTEget_msg_arg_int(1) | HIDE_HUD_HEALTH)


Last edited by Fr33m@n; 04-23-2015 at 11:39.
Fr33m@n is offline
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 04-24-2015 , 04:26   Re: |problem| Console command
Reply With Quote #7

Thanks Fr33m@n
PHP Code:
#include <amxmodx> 
#include <hamsandwich>

new PLUGIN[]="Hide Hud"
new AUTHOR[]="AmxxModX"
new VERSION[]="1.1"

#define HIDE_HUD_HEALTH (1<<3)
new MsgHideWeapon

public plugin_init()
{
    
register_plugin(PLUGIN,VERSION,AUTHOR)

    
RegisterHam(Ham_Spawn"player""HideHudOn_spawn"1)

    
MsgHideWeapon get_user_msgid("HideWeapon")

    
register_message(MsgHideWeapon"msg_hideweapon")

}

public 
msg_hideweapon()
{
    
// Block HP/AP/Radar if not being blocked, must block all 3 can not individually be done
    
set_msg_arg_int(1ARG_BYTEget_msg_arg_int(1) | HIDE_HUD_HEALTH)
}

public 
HideHudOn_spawn(id)
{
    if(!
is_user_alive(id))return

    
message_begin(MSG_ONE_UNRELIABLEMsgHideWeapon_id)
    
write_byte(HIDE_HUD_HEALTH)
    
message_end()


Last edited by Krtola; 04-24-2015 at 04:36.
Krtola is offline
Send a message via Skype™ to Krtola
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 02:20.


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