[Include] SendErrorMessage(playerid, error) - SendErrorMessage!
#1

This is a simple error message system to help organize your error message sending! It's really customizable, and is a very small script.

Basically it has up to 5 slots right now for error messages,

Which can be easily changed to fit your needs.

An example,

This will be the message defined for the first slot(error0). Say I want to send a you're not authorized message... I would then define error0 like so,

NOTE: Make sure you don't forget the "".

Click here to download via pastebin.
Reply
#2

Hmm, Post this in Includes section.
Reply
#3

Would be better as a tutorial to be honest. Its just a few lines of code, nothing more. Could re-create this within a minute, releases should take at-least 5 minutes...
Reply
#4

Post it as tutorials.
Reply
#5

Either post it in the Includes Section or Either at the Tutorial section.
Well, if you're posting it as an Include, this is really easy to script.
Reply
#6

Not bad
Reply
#7

Well I wouldn't prefer that one. Instead:

Код:
stock SendError(playerid, text[])
{
	new str[128];
	format(str,sizeof(str),"{FF0000}%s",text);
    SendClientMessage(playerid,-1,str);
	return 1;
}
Reply
#8

Код:
SendClientMessage(playerid, -1, error0);
More easy..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)