02.03.2014, 19:54
Код:
C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(65) : error 010: invalid function or declaration C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(2689) : warning 202: number of arguments does not match definition C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(2691) : warning 209: function "IsAtLicenseplace" should return a value C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(2704) : error 029: invalid expression, assumed zero C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(2706) : error 001: expected token: ";", but found "public" C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(2706) : error 029: invalid expression, assumed zero C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(2706 -- 2707) : error 028: invalid subscript (not an array or too many subscripts): "playerid" C:\Documents and Settings\Mihai\Desktop\GM\gamemodes\Godfather.pwn(2706 -- 2707) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors.
Код:
//forward CooldownTowTimer(); forward CheckOnline(); forward AntiSpam(playerid); <- Line 65. forward SetPlayerSpawn(playerid); forward unmute(playerid);
Код:
public IsAtLicenseplace(playerid)
{
if(IsPlayerInRangeOfPoint(playerid, Float:362.4653, Float:173.7711, Float:1008.3828)) <- Line 2689.
return 1;
} <- Line 2691
public RACtime(playerid)
{
for(new player=0; player<MAX_PLAYERS; player++)
{
if(!IsVehicleOccupied(player)) SetVehicleToRespawn(player);
}
for(new car = 1; car < sizeof(CarInfo); car++)
{
if(!IsVehicleOccupied(car)) SetVehicleToRespawn(car);
}
return
} <- Line 2704
public AntiSpam(playerid) <- Line 2706
{ <- Line 2707
RecentlyShot[playerid] = 0;
return 1;
}

