How to make a simple message command! [ZCMD] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to make a simple message command! [ZCMD] (
/showthread.php?tid=571913)
How to make a simple message command! [ZCMD] -
DevinPatino - 23.04.2015
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.
Re: How to make a simple message command! [ZCMD] -
Admigo - 23.04.2015
Wrong section:
http://forum.sa-mp.com/forumdisplay.php?f=70
Re: How to make a simple message command! [ZCMD] -
AberKane - 23.04.2015
I don't want to make a search in the forums cause php will get drunk passing thru all the similar queries.
Tutorials
Re: How to make a simple message command! [ZCMD] -
MRSAS - 23.04.2015
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 ..