03.02.2011, 11:56
I tried to make bounce command what moves vehicle up, Not SetVehiclePos
But, it didn't worked in-game, Script was ok.... that cmd just failed...
help me...
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;
}
help me...