CMD Help - 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: CMD Help (
/showthread.php?tid=534069)
CMD Help -
Jigsaw123 - 27.08.2014
Hello, I've done a command such as:
Код:
CMD:help(playerid, params[])
{
SendClientMessage(playerid, COLOR_WHITE, " -----[COMMANDS]-----"
SendClientMessage(playerid, COLOR_WHITE, "/locations - Shows you all the mappings you may teleport to."
return 1;
{
I do /help IG and it doens't work. Help?
Re: CMD Help -
TLN - 27.08.2014
pawn Код:
CMD:help(playerid, params[])
{
SendClientMessage(playerid, COLOR_WHITE, " -----[COMMANDS]-----");
SendClientMessage(playerid, COLOR_WHITE, "/locations - Shows you all the mappings you may teleport to.");
return 1;
}
Re: CMD Help -
Eth - 27.08.2014
you didn't close the brackets
pawn Код:
CMD:help(playerid, params[])
{
SendClientMessage(playerid, COLOR_WHITE, " -----[COMMANDS]-----"
SendClientMessage(playerid, COLOR_WHITE, "/locations - Shows you all the mappings you may teleport to."
return 1;
{
should be;
pawn Код:
CMD:help(playerid, params[])
{
SendClientMessage(playerid, COLOR_WHITE, " -----[COMMANDS]-----");
SendClientMessage(playerid, COLOR_WHITE, "/locations - Shows you all the mappings you may teleport to.");
return 1;
}
also you should close the last one
Re: CMD Help -
Jigsaw123 - 27.08.2014
I did that.. Still don#t work.
Re: CMD Help -
R4PlaY - 27.08.2014
Did you included ZCMD or YCMD on top of the script?
Re: CMD Help -
Sarra - 27.08.2014
Quote:
Originally Posted by Jigsaw123
I did that.. Still don#t work.
|
Do you get any errors when compiling? If so, can you show them to us?