C:\Documents and Settings\Andero\Desktop\Server\gamemodes\Stunters.pwn(150) : error 055: start of function body without function header C:\Documents and Settings\Andero\Desktop\Server\gamemodes\Stunters.pwn(151) : error 010: invalid function or declaration C:\Documents and Settings\Andero\Desktop\Server\gamemodes\Stunters.pwn(154) : error 010: invalid function or declaration C:\Documents and Settings\Andero\Desktop\Server\gamemodes\Stunters.pwn(156) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/cmds", cmdtext, true, 10) == 0) { SendClientMessage(playerid, 0xFFFFFFFF, "[TELES] COMING SOON"); return 1; } return 0; } { if (strcmp("/help", cmdtext, true, 10) == 0) { SendClientMessage(playerid, 0xFFFFFFFF, "[HELP] USE /cmds FOR COMMANDS !"); return 1; } return 0; }
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/cmds", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, 0xFFFFFFFF, "[TELES] COMING SOON");
}
if(strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, 0xFFFFFFFF, "[HELP] USE /cmds FOR COMMANDS !");
}
return 0;
}
pawn Код:
|