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
#2

Wrong section: http://forum.sa-mp.com/forumdisplay.php?f=70
Reply
#3

I don't want to make a search in the forums cause php will get drunk passing thru all the similar queries.

Tutorials
Reply
#4

Quote:
Originally Posted by DevinPatino
Посмотреть сообщение
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)

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.
No Man, First The Code Is Wrong :P , Where Is "return 1;?
Second It's Very Simple So, No one Will Get Helped..... Anyway Thanks For Your Help ..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)