hmm was ist das
komme nicht weiter
SendClientMessageToAll(playerid,COLOR_LIGHTBLUE,text);
argument type mismatch (argument 2)
wtf :P?
hier mal der ganze code..
if (strcmp("/news", cmdtext, true, 10) == 0)
{
for(new i = 0; i <= MAX_PLAYERS; i++)
{
if(IsPlayerConnected(playerid))
{
if(Spieler[playerid][SANEWS] == 1)
{
new text[128];
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name, sizeof (name));
format(text, sizeof(text), "Newsreporter %s: %s",name,cmdtext[3]);
SendClientMessageToAll(playerid,COLOR_LIGHTBLUE,text);
}
}
}
return 1;
}
MfG