31.07.2011, 05:32
That code will not actually put the player in the vehicle because you are using GetVehicleID before you are putting the player in the vehicle.
You should do this:
Otherwise, not a bad tutorial .
You should do this:
pawn Код:
new Float:x, Float:y, Float:z, Float:a;
GetPlayerPos(playerid, x,y,z);
GetPlayerFacingAngle(playerid, a);
new vehicleid = CreateVehicle(411, x+3,y,z, a, -1, -1, -1);
PutPlayerInVehicle(playerid, vehicleid, 0);