Knucis
04-02-2009, 11:48 AM
This cmd is not working, aint set any speed in the car.
function onPlayerKeyPress(PlayerID, key)
if key == 78 then
if isPlayerInAnyVehicle(PlayerID) == 1 then
setVehicleSpeed(PlayerID, VehicleID, 300)
outputChatBox(PlayerID,"Nitro on!",255,0,0,255)
return
end
end
end
function onPlayerKeyPress(PlayerID, key)
if key == 78 then
if isPlayerInAnyVehicle(PlayerID) == 1 then
setVehicleSpeed(PlayerID, VehicleID, 300)
outputChatBox(PlayerID,"Nitro on!",255,0,0,255)
return
end
end
end