HI habe einen Kleinen Error bei meinen Dm Script
forward Timer1(playerid)
public Timer1(playerid)
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(PlayerKillStreak[i] == 3)
{
new Killstreakstring[130];
new Name [MAX_PLAYER_NAME];
GetPlayerName(i,Name,sizeof(Name));
format(Killstreakstring,sizeof(Killstreakstring),"[KILLSTREAK] %s hat einen 3-er Killstreak! Er Bekommt +3 Score",Name);
SendClientMessageToAll(Gelb,Killstreakstring);
}
}
return 1;
}
C:\Users\Viktor\Desktop\Only Selfmade\gamemodes\dmselfmade.pwn(502) : error 001: expected token: ";", but found "public"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.