How to make a simple message command! [ZCMD]
#1

Please note before reading this is a very simple task to do only for beginners!
Start off by getting zcmd (Thnking you already know how to do this)
Quote:

CMD:sup(playerid, params[]) // Leave it like this
{
SendClientMessage(playerid, COLOR_YELLOW, "Type your message here"); //Sending a message to the person who types this command in this case the command is 'sup'
}

Now you can change the color of the message by searching in your gamemode like this #define COLOR_YELLOW 0xFFFF00AA

Hope you learn something new from this.
Reply


Messages In This Thread
How to make a simple message command! [ZCMD] - by DevinPatino - 23.04.2015, 15:57
Re: How to make a simple message command! [ZCMD] - by Admigo - 23.04.2015, 16:14
Re: How to make a simple message command! [ZCMD] - by AberKane - 23.04.2015, 16:17
Re: How to make a simple message command! [ZCMD] - by MRSAS - 23.04.2015, 16:20

Forum Jump:


Users browsing this thread: 1 Guest(s)