No driver bug while putting player directly from RC vehicle to normal vehicle.
#1

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:

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;
}
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.
Reply


Messages In This Thread
No driver bug while putting player directly from RC vehicle to normal vehicle. - by KovaNovik - 09.02.2014, 13:30
Re: No driver bug while putting player directly from RC vehicle to normal vehicle. - by zT KiNgKoNg - 27.07.2015, 17:24

Forum Jump:


Users browsing this thread: 2 Guest(s)