function tick()
local playerPed = PLAYER.PLAYER_PED_ID()
local player = PLAYER.GET_PLAYER_PED(playerPed)
local playerExists = ENTITY.DOES_ENTITY_EXIST(playerPed)
if(playerExists) then
if(PED.IS_PED_IN_ANY_VEHICLE(playerPed, false)) then
local veh = PED.GET_VEHICLE_PED_IS_IN(playerPed,true)
if(get_key_pressed(115)) then
VEHICLE.SET_VEHICLE_FORWARD_SPEED(veh,500)
end
end
end
end