Is there a...
#1

Is there a function that is like 'IsVehicleOccupied' or something?
Reply
#2

I made this outta my mind, I can't assure you it works, lol.

pawn Код:
stock IsVehicleOccupied(vehicleid)
{
    for(new p; p < MAX_PLAYERS; p++) && if(IsPlayerConnected(p))
    {
        if(IsPlayerInAnyVehicle(p) && GetPlayerVehicleID(p) == vehicleid) return 1;
    }
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)