AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   BLock icons [weap pickup & money ] (https://forums.alliedmods.net/showthread.php?t=164003)

avril-lavigne 08-06-2011 05:01

BLock icons [weap pickup & money ]
 
I searched and found many useful plugins like
remove buy zone
block weapon icon
remove money

Im using it all .

but still - I see the icon of money and the icon of pick-upped weapons

look at the right corner

http://s45.radikal.ru/i109/1108/30/fa4cf0f9f852.jpg

ConnorMcLeod 08-06-2011 05:10

Re: BLock icons [weap pickup & money ]
 
For Money : http://forums.alliedmods.net/showthr...236#post846236

For pickup, use set_msg_block with BLOCK_SET value and wanted msg index.

avril-lavigne 08-06-2011 05:33

Re: BLock icons [weap pickup & money ]
 
just wow.... thanks!

but amx_hud_hide_radar_health_armor 0
it blocks armor and radar (

ok I will hide radar by clientside command "hideradar" .its more efficient that use block msg

ok I will block pick up like set_msg_block(get_user_msgid("DeathMsg"), BLOCK_SET)
but for pick up event

http://www.amxmodx.org/funcwiki.php?go=func&id=287

I added 25 blocks )

SpeeDeeR 08-06-2011 05:52

Re: BLock icons [weap pickup & money ]
 
And how will you enable the radar after the player exit the server?

Hunter-Digital 08-06-2011 07:44

Re: BLock icons [weap pickup & money ]
 
Quote:

Originally Posted by avril-lavigne (Post 1526836)
ok I will hide radar by clientside command "hideradar" .its more efficient that use block msg

No it's NOT, it's slowhacking and disables radar on players on ALL servers, players that don't know how to reactivate their radar will have a verry bad experience because of you.

2reason2kill 08-06-2011 09:15

Re: BLock icons [weap pickup & money ]
 
Quote:

Originally Posted by SpeeDeeR (Post 1526846)
And how will you enable the radar after the player exit the server?

Make A Menu that let them Accept

Hunter-Digital 08-06-2011 09:32

Re: BLock icons [weap pickup & money ]
 
Quote:

Originally Posted by 2reason2kill (Post 1526951)
Make A Menu that let them Accept

That makes no sense, he asked how do you restore radar on players that EXIT the server, you can't send commands or menus to players after they already left, and client_disconnect() triggers after that, not before.

avril-lavigne 08-06-2011 13:08

Re: BLock icons [weap pickup & money ]
 
no its simple

client_cmd(id,"drawradar")

Im cs scripter, now im learning pawn Oo
hideradar / drawradar ...I think making menu for 1 command is not worth its job
im not changing rates/binds/ just useless radar. I will check , may be my block_msgs already blocking radar

do u want to know how ? I will block client _disconnect
register_clcmdmd ("disconnect")
and put it in a block

than send a "drawradar" to player
than actually send him real disconnect command

ok added msgblock for radar. thanks to all

abdul-rehman 08-06-2011 13:30

Re: BLock icons [weap pickup & money ]
 
Will blocking "disconnect" command really work ? Have u checked it, coz i dont think you can block it.

bibu 08-06-2011 13:44

Re: BLock icons [weap pickup & money ]
 
Quote:

Originally Posted by abdul-rehman (Post 1527086)
Will blocking "disconnect" command really work ? Have u checked it, coz i dont think you can block it.

Should be client-side.


All times are GMT -4. The time now is 03:25.

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