24.01.2014, 22:31
Nobody is leading the vehicle!
pawn Code:
CMD:car(playerid, params[])
{
if(sscanf(params, "i", params[0])) return SendClientMessage(playerid, -1, "[INFO] (/Car [VehicleID]).");
else
{
new Float:Pos[3];
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
new Vehicle = CreateVehicle(params[0], Pos[0], Pos[1], Pos[2], 0.0, random(50), random(50), -1);
PutPlayerInVehicle(playerid, Vehicle, 0);
}
return 1;
}
This happens when I pass from a vehicle to other one being a driver. Or, I am in a vehicle, write this command and it goes on to me to the vehicle created with this command... ...and in some occasions the Skin it becomes invisible.
Regards.