ї Me ayudan con estй codigo ?.
#1

ї Me ayudan con estй codigo ?.
pawn Код:
CreatedRaceVeh[playerid] = CreateVehicle(RaceVehicle, RaceVehCoords[0][0], RaceVehCoords[0][1], RaceVehCoords[0][2]+2, RaceVehCoords[0][3], random(126), random(126), (60 * 60));
Ps quiero quй no se cree el vehiculo, Solo las cordenadas.
Reply
#2

No entendн ?
Reply
#3

es el sistema de carreras de ryder...
pawn Код:
RaceVehCoords[0][0] -= (6 * floatsin(-RaceVehCoords[0][3], degrees));
RaceVehCoords[0][1] -= (6 * floatcos(-RaceVehCoords[0][3], degrees));
Teletransportar(playerid, RaceVehCoords[0][0], RaceVehCoords[0][1], RaceVehCoords[0][2]+2);
SetPlayerFacingAngle(playerid, RaceVehCoords[0][3]);
Le agregй esto
pawn Код:
CreatedRaceVeh[playerid] = CreateVehicle(RaceVehicle, RaceVehCoords[0][0], RaceVehCoords[0][1], RaceVehCoords[0][2]+2, RaceVehCoords[0][3], random(126), random(126), (60 * 60));
Sino el vehнculo sale para atras xd.
Reply
#4

Sigo sin entender xD . El auto sale al revйs ?
Reply
#5

Si xD, Sale todo eso de las camaras y para crear el vehнculo ya que quiero que los users elijan sus vehiculos, y el auto sale al reves quier oque salga derecho al checkpoint
Reply
#6

usa SetVehicleZAngle(vehicleid,RaceVehCoords[0][3]);
Reply
#7

Si gracias eso es, pero sale torcido, quiero que salga derecho xD probe asн pero me tira errores.
Код:
SetVehicleZAngle(vehicleid,RaceVehCoords[0][0], RaceVehCoords[0][1], RaceVehCoords[0][2]+2, RaceVehCoords[0][3], random(126), random(126), (60 * 60));
Reply
#8

Quote:
Originally Posted by SaiB0T
Посмотреть сообщение
Si gracias eso es, pero sale torcido, quiero que salga derecho xD probe asн pero me tira errores.
Код:
SetVehicleZAngle(vehicleid,RaceVehCoords[0][0], RaceVehCoords[0][1], RaceVehCoords[0][2]+2, RaceVehCoords[0][3], random(126), random(126), (60 * 60));
pawn Код:
CreatedRaceVeh[playerid] = CreateVehicle(RaceVehicle, RaceVehCoords[0][0], RaceVehCoords[0][1], RaceVehCoords[0][2]+2, RaceVehCoords[0][3], random(126), random(126), (60 * 60));
SetVehicleZAngle(CreatedRaceVeh[playerid], ANGULO);
Reply
#9

Quote:
Originally Posted by GROVE22
Посмотреть сообщение
pawn Код:
CreatedRaceVeh[playerid] = CreateVehicle(RaceVehicle, RaceVehCoords[0][0], RaceVehCoords[0][1], RaceVehCoords[0][2]+2, RaceVehCoords[0][3], random(126), random(126), (60 * 60));
SetVehicleZAngle(CreatedRaceVeh[playerid], ANGULO);
SaiB0T habia eso una funcion nueva en samp :P XD
Reply
#10

Quote:
Originally Posted by GROVE22
Посмотреть сообщение
pawn Код:
CreatedRaceVeh[playerid] = CreateVehicle(RaceVehicle, RaceVehCoords[0][0], RaceVehCoords[0][1], RaceVehCoords[0][2]+2, RaceVehCoords[0][3], random(126), random(126), (60 * 60));
SetVehicleZAngle(CreatedRaceVeh[playerid], ANGULO);
Eso me creara el vehнculo D:
Код:
CreatedRaceVeh[playerid] = CreateVehicle(RaceVehicle, RaceVehCoords[0][0], RaceVehCoords[0][1], RaceVehCoords[0][2]+2, RaceVehCoords[0][3], random(126), random(126), (60 * 60));
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)