So ich habe es zwar hinbekommen alles hinzukopieren aber dann kommen errors ich zeige euch denn script mal
ocmd:kill(playerid,params[])
{ if(!isPlayerAnAdmin(playerid,3))return SendClientMessage(playerid,0xF5FF00FF,"Du bist kein Admin");
new pID,new string[64];
if(sscanf(params,"u",pID))return SendClientMessage(playerid,0xF5FF00FF,"/kill [ID/Name]");
SetPlayerHealth(pID,0);
format(string,sizeof(string),"Du hast Spieler %s gekillt.",SpielerName(pID));
SendClientMessage(playerid,0xFF002DFF,string);
return 1;
}
dann kommen aber errrors
C:\Users\yur4ik\Desktop\vom altenpc\GTA-Server\gamemodes\Fusion.pwn(152) : error 001: expected token: "-identifier-", but found "new"
C:\Users\yur4ik\Desktop\vom altenpc\GTA-Server\gamemodes\Fusion.pwn(155) : error 017: undefined symbol "string"
C:\Users\yur4ik\Desktop\vom altenpc\GTA-Server\gamemodes\Fusion.pwn(155) : error 017: undefined symbol "string"
C:\Users\yur4ik\Desktop\vom altenpc\GTA-Server\gamemodes\Fusion.pwn(155) : error 029: invalid expression, assumed zero
C:\Users\yur4ik\Desktop\vom altenpc\GTA-Server\gamemodes\Fusion.pwn(155) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.