facing angle
#8

You don't need all that for a flip command, try this:

pawn Код:
CMD:flip(playerid, params[])
{
    if(IsPlayerInAnyVehicle(playerid)) {
        new Float:angle, vehid;
        vehid = GetPlayerVehicleID(playerid);
        GetVehicleZAngle(vehid, angle);
        SetVehicleZAngle(vehid, angle);
    } else {
        SendClientMessage(playerid, 0xFF0000, "You need to be in a vehicle to use this command!");
    }
}
Quote:
Originally Posted by MP2
Посмотреть сообщение
Try removing SetVehiclePos.
What kind of a stupid advise is that?
Reply


Messages In This Thread
facing angle - by manchestera - 20.11.2011, 19:16
Re: facing angle - by MP2 - 20.11.2011, 19:33
Re: facing angle - by manchestera - 20.11.2011, 19:46
Re: facing angle - by IceCube! - 20.11.2011, 20:18
Re: facing angle - by manchestera - 20.11.2011, 20:27
Re: facing angle - by manchestera - 21.11.2011, 17:44
Re: facing angle - by MP2 - 21.11.2011, 17:59
Re: facing angle - by Sinner - 21.11.2011, 18:46
Re: facing angle - by MP2 - 21.11.2011, 19:07
Re: facing angle - by manchestera - 21.11.2011, 19:14

Forum Jump:


Users browsing this thread: 1 Guest(s)