Need some help ;)
#4

Try
pawn Код:
if(PRESSED(KEY_SUBMISSION))
    {
        if(IsPlayerInAnyVehicle(playerid))
        {
            new Float:X, Float:Y, Float:Z, Float:Angle;
            RepairVehicle ( GetPlayerVehicleID ( playerid ) );
            SetVehicleHealth ( GetPlayerVehicleID ( playerid ), 9999.0 );
            GetVehicleZAngle( GetPlayerVehicleID ( playerid ), Angle );
            SetVehicleZAngle( GetPlayerVehicleID ( playerid ), Angle );
            AddVehicleComponent( GetPlayerVehicleID ( playerid ), 1010 );
        }
        else
        {
            SendClientMessage(playerid, red, "You need to be in any Vehicle !");
        }
    }
Reply


Messages In This Thread
Need some help ;) - by Racer99 - 26.07.2012, 03:39
Re: Need some help ;) - by Devilxz97 - 26.07.2012, 03:50
Re: Need some help ;) - by Racer99 - 26.07.2012, 03:59
Re: Need some help ;) - by Kitten - 26.07.2012, 04:04
Re: Need some help ;) - by Racer99 - 26.07.2012, 04:10
Re: Need some help ;) - by Devilxz97 - 26.07.2012, 07:34
Re: Need some help ;) - by Devilxz97 - 26.07.2012, 07:36
Re: Need some help ;) - by Racer99 - 26.07.2012, 14:11
Re: Need some help ;) - by Alexis1999 - 26.07.2012, 14:14
Re: Need some help ;) - by Racer99 - 26.07.2012, 14:25

Forum Jump:


Users browsing this thread: 1 Guest(s)