[FilterScript] sMOTD - Simple MOTD Script
#5

Quote:
Originally Posted by biker122
Посмотреть сообщение
What's the use of "string[128]" variable in "MOTD" command?:
pawn Код:
format(string, sizeof(string), "Message of the Day has been successfully updated.");
        SendClientMessageToAll(COLOR_WHITE, string);
Just use:
pawn Код:
SendClientMessageToAll(COLOR_WHITE, "Message of the Day has been successfully updated.");

Other than that - That's a good start!
Thanks for this tip, script was updated.
Reply


Messages In This Thread
sMOTD - Simple MOTD Script - by Shady - 14.04.2016, 10:09
Re: sMOTD - Simple MOTD Script - by iCurse - 14.04.2016, 10:30
Re: sMOTD - Simple MOTD Script - by biker122 - 14.04.2016, 13:44
Re: sMOTD - Simple MOTD Script - by xTURBOx - 14.04.2016, 14:58
Re: sMOTD - Simple MOTD Script - by Shady - 14.04.2016, 20:33
Re: sMOTD - Simple MOTD Script - by Private200 - 14.04.2016, 20:36
Re: sMOTD - Simple MOTD Script - by Shady - 15.04.2016, 22:29
Re: sMOTD - Simple MOTD Script - by HaRdiiZin - 16.04.2016, 00:37
Re: sMOTD - Simple MOTD Script - by xTURBOx - 16.04.2016, 06:01

Forum Jump:


Users browsing this thread: 3 Guest(s)