Author
|
Message
|
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
|
08-15-2009
, 05:36
[Native]Sync HUD Messages
|
#1
|
Sync HUD Messages
- This API was intended to work with alot of messages and 1 channel and save the others. If you want to show like 3 messages in channel 1, just call the native SyncHudMessage() 3 times for channel 1 with what params you want. Also support individual params for each message.
- The messages will be showed in order, after the last one showed is gone.
- So if you have 3 plugins that show hud messages on same channel and all use SyncHudMessage, messages will be showed in order, will not overwrite.
Maybe this isn't the best way,but as i can see worked fine until now.
Native: SyncHudMessage(id, red, green, blue, Float: x, Float:y, effects, Float:fxtime, Float:holdtime, Float:fadeintime, Float:fadeouttime, channel, text[], any:...)
Feel free to report any possible bugs/optimizations.
__________________
Still...lovin' . Connor noob! Hello
Last edited by Alka; 08-15-2009 at 17:03.
|
|
|
|