Raised This Month: $32 Target: $400
 8% 

One MORE stupid question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
jc980
Veteran Member
Join Date: Jan 2010
Location: God is with us...
Old 04-05-2013 , 01:44   One MORE stupid question
Reply With Quote #1

Will this work?

Quote:
set_msg_block(is_money_msg, BLOCK_SET)
Instead of using this?

http://forums.alliedmods.net/showthr...ht=block+money
__________________

Last edited by jc980; 04-05-2013 at 04:10.
jc980 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-05-2013 , 02:23   Re: One stupid question
Reply With Quote #2

No, this gonna just prevent player hud from being updated, but player gonna still receive money.

You should :

1. Prevent player from receiving money
2. Prevent HUD from being updated or better hide the money part of hud, see hud customizer plugin.

So, #2 is ok on the link you posted.
You can even remove that line : set_msg_arg_int(1, ARG_LONG, 0);
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 04-05-2013 at 02:24.
ConnorMcLeod is offline
jc980
Veteran Member
Join Date: Jan 2010
Location: God is with us...
Old 04-05-2013 , 04:11   Re: One MORE stupid question
Reply With Quote #3

Will this work as well?

Quote:
new Float: is_hudpos[4][2] =
{
{-1.0,0.0},
{-1.0,0.35},
{-1.0,0.90},
{-1.0,-0.35}
}
I am trying to create my own HUD message system. I can't decide whether to use const or Float:.
__________________

Last edited by jc980; 04-05-2013 at 04:11.
jc980 is offline
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 04-05-2013 , 10:42   Re: One MORE stupid question
Reply With Quote #4

Quote:
Originally Posted by jc980 View Post
Will this work as well?



I am trying to create my own HUD message system. I can't decide whether to use const or Float:.
Is those values in variable never changes?
If yes then const with Float:
.Dare Devil. is offline
jc980
Veteran Member
Join Date: Jan 2010
Location: God is with us...
Old 04-07-2013 , 07:26   Re: One MORE stupid question
Reply With Quote #5

Quote:
Originally Posted by .Dare Devil. View Post
Is those values in variable never changes?
If yes then const with Float:
Yes. Thank you very much with your reply.

I will ask again for another question.
__________________
jc980 is offline
Reply


Thread Tools
Display Modes

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 05:09.


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