ocmd:gov(playerid,params[])
{
if(sInfo[playerid][fraktion]==1)
{
new Text[164], string[164];
if(sscanf(params,"s[128]",Text))return SendClientMessage(playerid,COLOR_WHITE,"FEHLER: /gov [Text]");
format(string,sizeof(string),"%s: %s",getPlayerName(playerid),Text);
SendClientMessageToAll(playerid,0x004BFFFF,"===============STAATS-NACHRICHT===============");
SendClientMessageToAll(playerid, string);
SendClientMessageToAll(playerid,0x004BFFFF,"===============STAATS-NACHRICHT-ENDE===============");
}
else
{
SendClientMessage(playerid,COLOR_RED,"Du bist nicht in der Fraktion LSPD!");
}
return 1;
}
C:\Users\xxxx\Desktop\SA-MP Server\gamemodes\kor.pwn(813) : error 035: argument type mismatch (argument 2)
C:\Users\xxx\Desktop\SA-MP Server\gamemodes\kor.pwn(815) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.