andreiutzu961 Posted April 27, 2013 Report Share Posted April 27, 2013 Eroare[pawn](1880) : error 025: function heading differs from prototype(2759) : error 017: undefined symbol "CarInfo"(2759) : error 036: empty statement(2759) : error 017: undefined symbol "car"(2759) : fatal error 107: too many error messages on one line[/pawn]Functia[pawn]public RACtime(playerid){ for(new player=0; player<MAX_PLAYERS; player++) { if(!IsVehicleOccupied(player)) SetVehicleToRespawn(player); } Linia unde imi da eroare ...... for(new car = 1; car < sizeof(CarInfo); car++) { if(!IsVehicleOccupied(car)) SetVehicleToRespawn(car); } return 1;}[/pawn] Link to comment Share on other sites More sharing options...
D@rksone Posted April 27, 2013 Report Share Posted April 27, 2013 Functia: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 1; } Adaugi in Gamemode: new CarInfo[1500][cInfo]; Rareori ne gândim la ceea ce avem, dar mereu la ceea ce ne lipseşte Link to comment Share on other sites More sharing options...
andreiutzu961 Posted April 27, 2013 Author Report Share Posted April 27, 2013 am pus dar uite ........[pawn](1880) : error 025: function heading differs from prototype(3890) : warning 213: tag mismatch(3890) : error 032: array index out of bounds (variable "PlayerInfo")(4168) : warning 213: tag mismatch(4168) : error 032: array index out of bounds (variable "PlayerInfo")(4183) : warning 213: tag mismatch4183) : error 032: array index out of bounds (variable "PlayerInfo")(4198) : warning 213: tag mismatch(4198) : error 032: array index out of bounds (variable "PlayerInfo")(4213) : warning 213: tag mismatch(4213) : error 032: array index out of bounds (variable "PlayerInfo")(4228) : warning 213: tag mismatch(4228) : error 032: array index out of bounds (variable "PlayerInfo")(4630) : warning 213: tag mismatch(4630) : error 032: array index out of bounds (variable "PlayerInfo")(4645) : warning 213: tag mismatch(4645) : error 032: array index out of bounds (variable "PlayerInfo")(4674) : warning 213: tag mismatch(4674) : error 032: array index out of bounds (variable "PlayerInfo")(4683) : warning 213: tag mismatch(4683) : error 032: array index out of bounds (variable "PlayerInfo")[/pawn] Link to comment Share on other sites More sharing options...
burnfire Posted April 28, 2013 Report Share Posted April 28, 2013 Poate te ajuta Asta P.S:Trebuia sa cauti pe google.ro :rolleyes: Link to comment Share on other sites More sharing options...
Question
andreiutzu961
Eroare
[pawn](1880) : error 025: function heading differs from prototype
(2759) : error 017: undefined symbol "CarInfo"
(2759) : error 036: empty statement
(2759) : error 017: undefined symbol "car"
(2759) : fatal error 107: too many error messages on one line[/pawn]
Functia
[pawn]public RACtime(playerid)
{
for(new player=0; player<MAX_PLAYERS; player++)
{
if(!IsVehicleOccupied(player)) SetVehicleToRespawn(player);
}
Linia unde imi da eroare ...... for(new car = 1; car < sizeof(CarInfo); car++)
{
if(!IsVehicleOccupied(car)) SetVehicleToRespawn(car);
}
return 1;
}[/pawn]
Link to comment
Share on other sites
3 answers to this question
Recommended Posts