CMD Help
#1

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

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;
}
Reply
#3

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
Reply
#4

I did that.. Still don#t work.
Reply
#5

Did you included ZCMD or YCMD on top of the script?
Reply
#6

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?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)