small text plug-in
would it be possible that some one posted a small text-on-screen plug-in that i could study?
|
where do you want this text? what kind of text?
center print? status message? HUD Message? Chat message? |
anywhere in center i guess, i just want a small script easy to learn and that could start me out!
|
Here is the code for a hud message in red that says "TEST" for 5 seconds at the start of the round :
Code:
|
Quote:
|
Sure you can, try this:
Code:
-Mug |
so the new kname[32], vname[32]
kname me killername and vname means victimename right? but what are the 32??? |
heres what i got right now
Code:
#include <amxmodx> |
Quote:
Btw, 32 is the number of slots in the string kname and vname. |
You need to modify your plugin_init to be:
public plugin_init() { register_plugin("Test","0.1","DarlD") register_event("ResetHUD","new_round","b") register_event("DeathMsg", "death_event", "a") // you missed this one } You had the death_event() routine defined but unless you register_event the routine it wont ever be called... -Mug |
| All times are GMT -4. The time now is 17:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.