How to make bounce command?
#1

I tried to make bounce command what moves vehicle up, Not SetVehiclePos
pawn Код:
if(!strcmp(cmdtext, "/bounce", true))
    {
        if (IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
    {
    new Float:vx, Float:vy, Float:vz;
    GetVehicleVelocity(GetPlayerVehicleID(playerid), vx, vy, vz);
    SetVehicleVelocity(GetPlayerVehicleID(playerid), vx, vy, vz * 1.5);
   
    }
        return 1;
    }
But, it didn't worked in-game, Script was ok.... that cmd just failed...
help me...
Reply


Messages In This Thread
How to make bounce command? - by [WSF]ThA_Devil - 03.02.2011, 11:56
AW: How to make bounce command? - by Nero_3D - 03.02.2011, 12:12
Re: How to make bounce command? - by [WSF]ThA_Devil - 03.02.2011, 12:14
Re: How to make bounce command? - by [WSF]ThA_Devil - 03.02.2011, 12:21

Forum Jump:


Users browsing this thread: 1 Guest(s)