/CarJump
#1

how can i make a /CarJump command but that when i use it on another player... he will keep driving to the same direction without stop... like bounce... not jump... if you didn't understand what i'm asking comment and i will try to explain better
Reply
#2

Look if i understand it correct

pawn Код:
command(carjump, playerid, params[])
{
    new
        id;
       
    if(sscanf(params,"r", id)) SendClientMessage(playerid, -1,"USAGE: /carjump [playerid]");
    else if(id == INVALID_PLAYER_ID) SendClientMessage(playerid, -1,"INVALID player id!");
    else
    {
        new
            veh = GetPlayerVehicleID( id ), Float:Car[3];
           
        GetVehiclePos(veh, Car[0], Car[1], Car[2]);
        SetVehiclePos(veh, Car[0], Car[1], Car[2] +50 );
    }
    return 1;
}
Reply
#3

i tried this already... but it stop the car and make it go up a little bit... i want it to go up but still go forward...
Reply
#4

pawn Код:
GetVehicleVelocity(vehicleid, x, y, z);
SetVehicleVelocity(vehicleid, x, y, z+1);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)