06.03.2010, 14:00
(
Last edited by Rzzr; 07/11/2010 at 01:15 PM.
)
Easy Objective Messages
by Rzzr.
# About:by Rzzr.
I was doing this for my server, and felt like sharing it. So I put the functions into an include

It shows ovjective messages to tell people their objective, like in singleplayer

# Functions:
ShowBriefMessageForPlayer(playerid, message[], time);
With this you show an objective message to a single player. Time is in milliseconds.
ShowBriefMessageToAll(message[], time);
With this you show an objective message to every connected player. Time again in milliseconds.
As you see it works almost like gametext.
# Screenshots:




# Installing:
1) Download the file and put it in your pawno/includes folder.
2) Open your script and add on top:
#include <ezbriefmessages>
And under OnGameModeInit add:
BriefMessagesInit();
3) You can now use the functions ShowBriefMessageForPlayer and ShowBriefMessageForAll.
# New:
v1.1 - A minor bugfix in ShowBriefMessageForAll, please re-download!
# Downloads:
Version 1
Download v1.1: http://www.mediafire.com/?nmymyez5inl
Pastebin link v1.1: http://pawn.pastebin.com/uxLbGeBN
# Credits:
- Zamaroht for his TextDraw Editor.
- Rzzr (me) for the rest.
There might be some bugs in the ShowBriefMessageForAll, because I was alone in my server so I couldn't test this with other players. If you find any, please report them here, thanks!
I hope it's useful and have fun with it!
Rzzr