11.01.2015, 17:52
pawn Code:
stock IsVehicleInUse(vehicleid)
{
new Veiculo;
for(new i; i < MAX_PLAYERS; i++)
{
if(GetPlayerVehicleID(i) == vehicleid)
Veiculo = vehicleid;
if(GetVehicleTrailer(GetPlayerVehicleID(i)) == vehicleid)
Veiculo = vehicleid;
}
return Veiculo;
}
pawn Code:
(1584) : error 001: expected token: "-identifier-", but found ";"
(1588) : error 029: invalid expression, assumed zero
(1588) : warning 217: loose indentation
(1588) : warning 215: expression has no effect
(1589) : warning 217: loose indentation
(1590) : error 029: invalid expression, assumed zero
(1590) : warning 217: loose indentation
(1590) : warning 215: expression has no effect
(1592) : warning 209: function "IsVehicleInUse" should return a value
UP!