How to make something like this?
#3

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if (newkeys & KEY_FIRE)
    {
        if(IsPlayerInAnyVehicle(playerid))
        {
            new Float:vx,Float:vy,Float:vz;
        GetVehicleVelocity(GetPlayerVehicleID(playerid),vx,vy,vz);
        SetVehicleVelocity(GetPlayerVehicleID(playerid), vx * 1.8, vy *1.8, vz * 1.8); //adjust by yourself
        }
    }
    return 1;
}
Reply


Messages In This Thread
How to make something like this? - by Louris - 17.11.2012, 10:46
Re: How to make something like this? - by Ballu Miaa - 17.11.2012, 10:57
Re: How to make something like this? - by Horrible - 17.11.2012, 11:17

Forum Jump:


Users browsing this thread: 1 Guest(s)