Habe folgenden Error weiß aber nicht wieso.
C:\Users\Mario\Documents\ICQ\432267041\ReceivedFiles\556081360 Viktor\CS.pwn(566) : error 025: function heading differs from prototype
public detonation(playerid, targetid, health) //Die Zeile, wo der Error ist.
{
new bombennachricht[256];
format(bombennachricht, sizeof(bombennachricht), "Die Bombe ist detoniert, der Bombenleger war %s", bombenleger);
SendClientMessageToAll(COLOR_RED, bombennachricht);
CreateExplosion(b1,b2,b3, 6, 350);
CreateExplosion(b1+2,b2,b3,6, 350);
CreateExplosion(b1-5,b2,b3,6, 350);
CreateExplosion(b1+10,b2-5,b3,5, 600);
if(gTeam[playerid] == TEAM_CT)
{
GetPlayerHealth(targetid,health);
SetPlayerHealth(playerid,0);
}
for(new i = 0; i < MAX_PLAYERS; i++)
{
DisablePlayerCheckpoint(i);
}
DestroyPickup(bombe);
return 0;
}