Also ich habe zwei Errors und mache es mal kurz:
Code:
public SetHost_Name()
{
new string[128];
format(string, sizeof(string), "hostname %s", Host_Names[SetHost_Name]);
SendRconCommand(string);
Count_Host_Name ++;
if(Count_Host_Name >= MAX_HOSTNAMES){SetHost_Name = 0;}
return true;
}
Errors:
Code
C:\Documents and Settings\...\Desktop\Restliche Datein\jmfile.pwn(8197) : error 076: syntax error in the expression, or invalid function call
C:\Documents and Settings\...\Desktop\Restliche Datein\jmfile.pwn(8200) : error 076: syntax error in the expression, or invalid function call
C:\Documents and Settings\...\Desktop\Restliche Datein\jmfile.pwn(8200) : warning 215: expression has no effect
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.