Can you help me please?
#1

I'm new in pawno'm trying to create commands. I created one command and successfully compiled, created shortly after another and gave 2 errors, I'll send the code and errors, I hope someone can help me, I thank you
Код HTML:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/creditos", true) == 0)
    {
        SendClientMessage(playerid, Green, "| CREDITOS | GM FEITO POR Willian !");
        return 1;
    }
    return 0;
}
	if(strcmp(cmdtext, "/ajuda", true) == 0)
	{
	    SendClientMessage(playerid, Green, "Leia as regras do servidor no /Regras");
	    return 1;
}
Errors:

Код HTML:
D:\MOACIR\Desktop\Pawno\GM de Teste\gamemodes\GM.pwn(111) : error 010: invalid function or declaration
D:\MOACIR\Desktop\Pawno\GM de Teste\gamemodes\GM.pwn(114) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
How to resolve these errors
Reply


Messages In This Thread
Can you help me please? - by ghostmaster - 05.01.2013, 20:09
Re: Can you help me please? - by u3ber - 05.01.2013, 20:13
Re: Can you help me please? - by ghostmaster - 05.01.2013, 20:19

Forum Jump:


Users browsing this thread: 3 Guest(s)