[Tutorial] /help command (ZCMD)
#5

Sorry but a fail
pawn Code:
CMD:help(playerid,params[])
{
        SendClientMessage(playerid, COLOR_GREEN, "Your help text");
        SendClientMessage(playerid, COLOR_GREEN, "Your help text");
        SendClientMessage(playerid, COLOR_GREEN, "Your help text");
        SendClientMessage(playerid, COLOR_GREEN, "Your help text");
        SendClientMessage(playerid, COLOR_GREEN, "Your help text");
{
It will give you error because 2 things

You are not ending the brace.
You are using:
pawn Code:
{

{
Which should be

pawn Code:
{

}
2nd Not returning! else it will give you following after your value.

Code:
SERVER: Unknown command!
pawn Code:
return 1;
Reply


Messages In This Thread
/help command (ZCMD) - by Hade. - 24.10.2012, 17:19
Re: /help command (ZCMD) - by gtakillerIV - 24.10.2012, 17:27
Re: /help command (ZCMD) - by Hade. - 24.10.2012, 17:38
Re: /help command (ZCMD) - by HyDrAtIc - 24.10.2012, 17:59
Re: /help command (ZCMD) - by Jarnu - 24.10.2012, 18:07
Re: /help command (ZCMD) - by lorizz - 27.10.2012, 15:23
Re: /help command (ZCMD) - by gtakillerIV - 27.10.2012, 15:42
Re: /help command (ZCMD) - by NewerthRoleplay - 27.10.2012, 16:06
Re: /help command (ZCMD) - by Silvarray - 28.10.2012, 06:23
Re: /help command (ZCMD) - by JhnzRep - 29.10.2012, 07:51

Forum Jump:


Users browsing this thread: 1 Guest(s)