29.07.2012, 13:18
.......
pawn Код:
stock IsSeatTaken(vehicleid, seatid)
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(GetPlayerVehicleID(i) == vehicleid && GetPlayerVehicleSeat(i) == seatid) return 1;
}
return 0;
}