13.03.2012, 21:06
Hmm? I can't see where the players can make /sb on /sb off ?
I can make this i made it with KEY_FIRE
I can make this i made it with KEY_FIRE
pawn Код:
if (IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
if (newkeys & KEY_FIRE)
{
new Float:vehx; new Float:vehy; new Float:vehz;
GetVehicleVelocity(vehicleid,vehx,vehy,vehz);
SetVehicleVelocity(vehicleid,vehx*SpeedBoost,vehy*SpeedBoost,vehz*SpeedBoost);
}
}