Flip/Speedboost/Jump with car
#7

Thank you, Elorreli
It works perfect
Also, the flip part is on my gamemode, not on this FS, my fault.
This is the flip
pawn Код:
public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
{
  if(IsPlayerInAnyVehicle(playerid))
  {
    if(newkeys &= 2)
    {
      new Float:ZAngle,Float:X,Float:Y,Float:Z,vehicleid;
      vehicleid = GetPlayerVehicleID(playerid);
      GetVehiclePos(vehicleid,X,Y,Z);
      GetVehicleZAngle(vehicleid,ZAngle);
      SetVehicleZAngle(vehicleid,ZAngle);
      SetVehiclePos(vehicleid,X,Y,Z+2);
    }
  }
  return 1;
}
Reply


Messages In This Thread
Flip/Speedboost/Jump with car - by Kostas' - 10.10.2011, 17:42
Re: Flip/Speedboost/Jump with car - by Zonoya - 10.10.2011, 17:45
Re: Flip/Speedboost/Jump with car - by [CrC]reinixx - 10.10.2011, 18:26
Re: Flip/Speedboost/Jump with car - by Elorreli - 10.10.2011, 18:28
Re: Flip/Speedboost/Jump with car - by Kostas' - 10.10.2011, 19:15
Re: Flip/Speedboost/Jump with car - by Elorreli - 10.10.2011, 23:59
Re: Flip/Speedboost/Jump with car - by Kostas' - 11.10.2011, 06:52
Re: Flip/Speedboost/Jump with car - by Wesley221 - 11.10.2011, 06:57
Re: Flip/Speedboost/Jump with car - by Kostas' - 11.10.2011, 08:38
Re: Flip/Speedboost/Jump with car - by Wesley221 - 11.10.2011, 16:51

Forum Jump:


Users browsing this thread: 1 Guest(s)