14.07.2010, 15:10
If the car is used, it can not be stolen.
How can I do?
I try with isvehicleinuse
How can I do?
I try with isvehicleinuse
stock IsVehicleInUse(vehicleid)
{
for(new i; i != MAX_PLAYERS; i++)
{
if(GetPlayerVehicleID(i) == vehicleid)
{
return i;
}
}
return INVALID_PLAYER_ID;
}