12.01.2015, 14:32
Vocк pode pegar as coordenadas do banco da frente usando a funзгo GetVehicleModelInfo
OBS: Nгo testei, mais deve dar certo.
pawn Код:
CMD:bancodafrente(playerid){
new
string[45],
Float:frontPos[3];
GetVehicleModelInfo(GetVehicleModel(GetPlayerVehicleID(playerid)), VEHICLE_MODEL_INFO_FRONTSEAT, frontPos[0], frontPos[1], frontPos[2]);
format(string, sizeof string, "FrontX:%f FrontY:%f FrontZ:%f", frontPos[0], frontPos[1], frontPos[2]);
SendClientMessage(playerid, -1, string);
print(string);
return 1;
}