Hallo Ich habe ein Problem damit keine ahnung was das bewirkt:
new idx;
tmp = strtok(text, idx);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "[REPORT-SYSTEM] %s: %s", sendername, text);
SendClientMessage(playerid, COLOR_LIGHTGREEN,string);
if(ReportCall[ReportCall[playerid]] == playerid)
{
SendClientMessage(ReportCall[playerid], COLOR_LIGHTGREEN,string);
}
return 0;
}
C:\Dokumente und Einstellungen\Test\Test\gamemodes\Gamemode.pwn(1) : warning 219: local variable "idx" shadows a variable at a preceding level