[help] Car system
#1

warning 209: function "CarCheck" should return a value

}
forward CarCheck();
public CarCheck()
{
for(new v; v < MAX_VEHICLES; v++)
{
if(GetVehicleDistanceFromPoint(v, -1520.5173,2659.1863,56.2042) < 2)
{
SetVehiclePos(v,-1520.5173,2659.1863,56.204);
{
if(GetVehicleDistanceFromPoint(v, -1520.7703,2654.2078,55.7311) < 2)
{
SetVehiclePos(v, -1520.7703,2654.2078,55.7311);
}
}
return 1;
}
}
Reply


Messages In This Thread
[help] Car system - by Karolukas123 - 03.08.2015, 10:07
Re: [help] Car system - by MarvinPWN - 03.08.2015, 10:49

Forum Jump:


Users browsing this thread: 1 Guest(s)