09.02.2014, 13:30
If you spawn an RC vehicle, eg. ID 465, then you directly put the player to a "normal" vehicle, you're staying on foot (like when controlling an RC vehicle), and you're driving the vehicle you're in actually.
I found this while testing my vehicle spawner script:
With this command in, I typed /j 465, then /j 466, and I've saw this:
Edit: While that happens, you can't fell off your new vehicle, and your player cannot be moved.
Sorry for my bad english.
I found this while testing my vehicle spawner script:
pawn Код:
CMD:j(playerid, params[])
{
new beirtJarmu,
lerakottJarmu,
Float:X,
Float:Y,
Float:Z,
Float:F;
if(sscanf(params, "d", beirtJarmu)) return SendClientMessage(playerid, Piros, "Hasznбlat: /j [JбrműSzбm]");
{
GetPlayerPos(playerid, X, Y, Z);
GetPlayerFacingAngle(playerid, F);
lerakottJarmu = CreateVehicle(beirtJarmu, X, Y, Z, F, 0, 0, -1);
PutPlayerInVehicle(playerid, lerakottJarmu, 0);
}
return 1;
}
Edit: While that happens, you can't fell off your new vehicle, and your player cannot be moved.
Sorry for my bad english.