16.01.2012, 04:25
no te dije que no lo hagas pero para que no digas que soy tacuache aquн te dejo el codigo
Ese codigo toma el playerid como el conductor del vehiculo
pawn Код:
new vehicleplayer = GetPlayerVehicleID(playerid),pasajero;
for(new i; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && IsPlayerInVehicle(i, vehicleplayer))
{
new d =GetPlayerVehicleSeat(i);
if(d != 128 && d != 0)
{
pasajero = i;
break;
}
}
}
