Jump to content

[REL] Bar_Message | announce your messages!


Enargy,

Recommended Posts

I bring something uncommon but very useful when sending messages to the server, for those who are tired of use the chatbox as message receiver.

* Features

arguments:

message  - string Message 
player - player thePlayer 
red - int colorRed 
green - int colorGreen 
blue - int colorBlue 
ms - int milliseconds   

Server-side syntax:

bool outputMessageBar(message, player, red, green, blue, ms) 

client-side syntax:

bool outputMessageBar(message, red, green, blue, ms) 

images:

NuuT7i5.png

Johxprj.jpg

EXAMPLE:

addEventHandler("onPlayerJoin", getRootElement(), 
function() 
  exports.bar_messages:outputMessageBar(getPlayerName(source).." has entered.", getRootElement(), 255, 255, 0, 5000) 
end) 

* Version 1.0 -- Release of the resource.

download: https://community.multitheftauto.com/in ... s&id=11138

Edited by Guest
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...