02.12.2012, 08:12
Hello this are my Errors
this is where the errors are.
But i didnt defined
And the other one
Код:
C:\Users\Mustafa\Desktop\SAmp SRV\ForYou\gamemodes\BF.pwn(1228) : error 029: invalid expression, assumed zero C:\Users\Mustafa\Desktop\SAmp SRV\ForYou\gamemodes\BF.pwn(1615) : error 021: symbol already defined: "udb_hash" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
pawn Код:
stock udb_hash(buf[]) { //1615
new length=strlen(buf);
new s1 = 1;
new s2 = 0;
new n;
for (n=0; n<length; n++)
{
s1 = (s1 + buf[n]) % 65521;
s2 = (s2 + s1) % 65521;
}
return (s2 << 16) + s1;
}// 1626
And the other one
pawn Код:
public OnPlayerEnterCheckpoint(playerid) // 122
{
if(IsPlayerInRangeOfPoint(playerid, 377.8304, -3175.7493, 2.9000, 353.5308))
}
SendClientMessage(playerid, RED, "U begint met het veroveren van deze capture plek!");
GangZoneFlashForAll(TEAM_ARMY, 0xFF80FF76); // Makes the turf Flash Pink ( telling everyone its being taken over )
GangZoneFlashForAll(TEAM_SWAT, 0xFF80FF76); // Makes the turf Flash Pink ( telling everyone its being taken over )
SendClientMessageToAll(0xFF80FFFF, "The gangzone is being taken over"); // Sending Message to all players.
timer = SetTimerEx("SetZone", 30000, false, "i", playerid); // Setting the Timer... ( 30 seconds )
Checkpoint[playerid] = 1; // Telling the variable that the player is in the checkpoint.
return 1;
} //1236