Ich hab hier ein Error dabei wollte ich nur den Cmd /Help erstellen :
C:\Users\\\gamemodes\TDM.pwn(299) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/kill", cmdtext, true, 10) == 0)
{
SetPlayerScore(playerid, GetPlayerScore(playerid)+-1);
SetPlayerHealth(playerid,0);
return 1;
}
return 0;
}
if (strcmp(cmdtext, "/Help", true) == 0)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE," CMD´s : /Kill");
}
/Kill geht aber /Help nicht