Hallo liebe Breadfisher.
Ich habe gerade ein Gangwar Sys ein einem Script eingebaut, aber ich verstehe nicht, was mein Error zubedeuten hat.
Errors :
C:\Users\cRcKdwN\Desktop\Script\gamemodes\ThePrayer.pwn(52930) : error 025: function heading differs from prototype
C:\Users\cRcKdwN\Desktop\Script\gamemodes\ThePrayer.pwn(52930) : error 025: function heading differs from prototype
Zeile : Function GetGangZoneColor(gzid)
Inhalt :
Function GetGangZoneColor(gzid)
{
if(GangZone[gzid][owner] == 5)
{
return 0x000000DE;
}
else if(GangZone[gzid][owner] == 6)
{
return 0xD2D2D2DE;
}
else if(GangZone[gzid][owner] == 12)
{
return 0x000FFF4E;
}
else if(GangZone[gzid][owner] == 13)
{
return 0x37FF005E;
}
else if(GangZone[gzid][owner] == 14)
{
return 0xFF00EB5E;
}
else if(GangZone[gzid][owner] == 15)
{
return 0x6400FF5E;
}
else if(GangZone[gzid][owner] == 16)
{
return 0xEBFF005E;
}
else if(GangZone[gzid][owner] == 17)
{
return 0x00FFFA5E;
}
else if(GangZone[gzid][owner] == 19)
{
return 0xFF00005E;
}
else if(GangZone[gzid][owner] == 23)
{
return 0xA0A0A05E;
}
return 0xFFFFFF5E;
}
Brauche Hilfe !
//edit : text