03.04.2010, 01:21
Well, I'm slowly learning and moving along, although i keep coming across this same error when ever i try to add /etc commands.
This is the annoying error i keep getting.
Any help is appreciated.
Thanks.
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
if(strcmp(cmdtext, "/help", true) == 0)
{
SendClientMessage(playerid, COLOR_BLUE, "** HELP **");
SendClientMessage(playerid, COLOR_RED, "** COMMANDS **\n /suicide");
}
if(strcmp(cmdtext, "/error", true) == 0)
{
SendClientMessage(playerid, COLOR_RED, "** ERROR **");
return 1;
}
pawn Код:
C:\DOCUME~1\SKELLY~1\Desktop\GTASER~1\GAMEMO~1\Untitled.pwn(139) : error 010: invalid function or declaration
C:\DOCUME~1\SKELLY~1\Desktop\GTASER~1\GAMEMO~1\Untitled.pwn(142) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
Thanks.