SendClientMessage is SyntaxMessage?
#1

What is "SyntaxMessage"?? i found this on a gamemode:
if(!strlen(tmp)) return SyntaxMessage(playerid, "/makemoneybag [amount]");


but this "syntax" don't have #define is from a plugin?
Reply
#2

It is probably a public/stock function defined in your script somewhere. It doesn't necessarily have to be defined via #define.
Reply
#3

It's probably a function that the creator of th GM made. If you can't find the definition in the GM, it's probably in one of the includes.
I guess that this is a function that adds a couple of words to the message and saves time to the writer.
(SyntaxMessage(playerid, text); = SendClientMessage(playerid, color, "SYNTAX:" + text); )
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)