Re: Money HUD Effect
Code:
register_message(get_user_msgid("Money"),"hook_money") Code:
money = get_user_msgid("Money") |
Re: Money HUD Effect 0.8
Didn't notice that lol. Thanks.
|
Re: Money HUD Effect 0.8
In your plugin there is only one set task in use, you don't need to do the taskid calculation, just use id
second, you can use this instead of task_exists in your case Code:
new g_task[33] |
Re: Money HUD Effect 0.8
task_exists is more simple. No extra vars.. Yea i know, i should use remove_task(id) only. When i started making this plugin, i dunno why, but i was thinking of using 2 tasks with id. So i was lazy to edit it after i finished it.. anyway. If i'll make another version, i'll fix that.
Thanks all... |
Re: Money HUD Effect 0.8
good.
|
Re: Money HUD Effect 0.8
|
Re: Money HUD Effect 0.8
There are a few mistakes and optimizations that can be made, however it is acceptable.
If you would like any information regarding possible adjustments you could make or things you could do to make this better, please feel free to post here or PM me. Approved. |
Re: Money HUD Effect 0.8
Kinda like a trickling effect am I right?
|
Re: Money HUD Effect 0.8
Nice, this is on my server now!
|
Re: Money HUD Effect 0.8
Changes have been requested via PM.
See your other plugin for stylistic changes. Code:
Unnecessary instructions. You never use the taskid value of id, so there's no reason to add a unique identifier for it. Code:
Read my article on the set_task() function. The timer value is clamped at 0.1, so if you want something lower you'll have to use another method. Code:
Use MSG_ONE_UNRELIABLE. Code:
Read my article on stocks. This plugin is pretty good. It's a bit better than your other one, but still has some stylistic issues of inconsistency and poor readability. |
All times are GMT -4. The time now is 02:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.