#include <a_samp>
#include <zcmd>
new Float:pPos[MAX_PLAYERS][4];
CMD:flip(playerid, params[]) {
new Float:s[4];
GetVehiclePos(GetPlayerVehicleID(playerid), s[0], s[1], s[2]);
GetVehicleZAngle(GetPlayerVehicleID(playerid), s[3]);
SetVehiclePos(GetPlayerVehicleID(playerid), s[0], s[1], s[2] + 2.0);
return SetVehicleZAngle(GetPlayerVehicleID(playerid), s[3]);
}
CMD:l(playerid, params[]) {
if(IsPlayerInAnyVehicle(playerid)) return SetVehiclePos(GetPlayerVehicleID(playerid), pPos[playerid][0], pPos[playerid][1], pPos[playerid][2]), SetVehicleZAngle(GetPlayerVehicleID(playerid), pPos[playerid][3]);
else return SetPlayerPos(playerid, pPos[playerid][0], pPos[playerid][1], pPos[playerid][2]), SetPlayerFacingAngle(playerid, pPos[playerid][3]);
}
CMD:s(playerid, params[]) {
if(IsPlayerInAnyVehicle(playerid)) return GetVehiclePos(GetPlayerVehicleID(playerid), pPos[playerid][0], pPos[playerid][1], pPos[playerid][2]), GetVehicleZAngle(GetPlayerVehicleID(playerid), pPos[playerid][3]);
else return GetPlayerPos(playerid, pPos[playerid][0], pPos[playerid][1], pPos[playerid][2]), GetPlayerFacingAngle(playerid, pPos[playerid][3]);
}