27.01.2013, 16:56
I also just realised that IsVehicleEmpty is not a native sa-mp function so you'll hav to add it:
pawn Код:
stock IsVehicleEmpty(carid)
{
for(new i = 0; i < MAX_PLAYERS; i++) {
if(IsPlayerConnected(i)) {
if(IsPlayerInVehicle(i, carid)) return 0;
}
return 1;
}