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 (c) 1997-2006, ITB CompuPhase
6 Errors.
Linia 65:
forward CheckOnline();
forward AntiSpam(playerid); <- Linia 65
forward SetPlayerSpawn(playerid);
Liniile 2689 - 2710
if(IsPlayerInRangeOfPoint(playerid, Float:362.4653, Float:173.7711, Float:1008.3828)) <- Linia 2689
return 1;
} <- Linia 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
} <- Linia 2704
public AntiSpam(playerid) <- Linia 2706
{ <- Linia 2707
RecentlyShot[playerid] = 0;
return 1;
}
Question
DarkWolf
if(IsPlayerInRangeOfPoint(playerid, Float:362.4653, Float:173.7711, Float:1008.3828)) <- Linia 2689 return 1; } <- Linia 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 } <- Linia 2704 public AntiSpam(playerid) <- Linia 2706 { <- Linia 2707 RecentlyShot[playerid] = 0; return 1; }4 answers to this question
Recommended Posts