25.05.2010, 09:16
The fact that it is not a hire vehicle when It should be, and that it skips a number ( I think that's due to vehicles in my GM )
When I get in the first one, it returns "This is a hire vehicle");
Although when I get in the second one (Or any other vehicles created by CreateHireVehicle, other than the first) I get "This is not a hire vehicle."
pawn Код:
CreateHireVehicle(451, 524.259704, -1290.022094, 16.948589, 310.302642, -1, -1, 3000); //1
CreateHireVehicle(451, 534.313842, -1290.038574, 16.948661, 314.290283, -1, -1, 3000); //2
Although when I get in the second one (Or any other vehicles created by CreateHireVehicle, other than the first) I get "This is not a hire vehicle."
pawn Код:
if(new a = 0; a < MAX_HIRE_VEHICLES; a++)
{
if(v != Hire[a])
{
SendClientMessage(playerid, yellow, "This is not a hire vehicle.");
}
else if(v == Hire[a])
{
SendClientMessage(playerid, yellow, "This Is a hire vehicle.");
}
// other stuff
}
return 1;

