[pawn]new Float:xx,Float:yy,Float:zz;
new Float:rot;
GetVehiclePos(GetPlayerVehicleID(playerid), Float:xx,Float:yy,Float:zz);
new modell, modell2;
modell = GetVehicleModel(GetPlayerVehicleID(playerid));
GetPlayerName(playerid, planame, sizeof(planame));
GetPlayerName(vehicle, name, sizeof(name));
DestroyVehicle(GetPlayerVehicleID(playerid));
modell2 = CreateVehicle(modell,xx,yy,zz,rot,0,0 , -1);
PutPlayerInVehicle(playerid, modell2, 1);[/pawn]