hud help?
heyo could u make that plugin will show this hud mess. every X seconds please?
Code:
#include <amxmodx> |
Re: hud help?
Code:
new Float:repTime = 1.0 // this sets how many seconds you want between each showPHP Code:
corrections: -set_task function needs args in order to repeat the task :rtfm: -you shouldn't put set_task in the client_putinserver function; it'll set the task as many times as people join -%s signifies you're showing a string. while your variable was defined as an int -timeleft returns the time left in seconds: not very user friendly, so i put it to a string w/ the min:sec for you (assuming my math is correct) NOTE: put the first code block into your plugin_init, that will initialize it properly. ALSO: someone check his set_hudmessage i'm too tired to deal with that bloody function call right now. too man god damn periods and commas. it hurts my eyes |
Re: hud help?
Why dont you just used amxx.cfg
You can make new Huds there already and you can set every amount of seconds you want a new one to appear. |
| All times are GMT -4. The time now is 00:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.