stock isvehicleoccupied error
#6

stock IsVehicleOccupied(vehicleid)
{
for(new i=0;i<MAX_PLAYERS;i++)
{
if(IsPlayerInVehicle(i,vehicleid)) return 1;
}
return 0;
}
you're done mate
EDIT: The guy above was faster
Reply


Messages In This Thread
stock isvehicleoccupied error - by Lisaax - 05.08.2013, 09:56
Re: stock isvehicleoccupied error - by Necip - 05.08.2013, 10:03
Re: stock isvehicleoccupied error - by Konstantinos - 05.08.2013, 10:12
Re: stock isvehicleoccupied error - by Lisaax - 05.08.2013, 15:38
Re : stock isvehicleoccupied error - by Matnix - 05.08.2013, 15:40
Re: stock isvehicleoccupied error - by Smokeyy - 05.08.2013, 15:41
Re: stock isvehicleoccupied error - by Konstantinos - 05.08.2013, 15:42

Forum Jump:


Users browsing this thread: 3 Guest(s)