Hello, I'm doing a script for work as a bus driver and I've encountered a problem, I'm doing everything on the side of clienta and marker and blip dont show up
Script
local startbus = createMarker ( 2184.10229, -1451.73291, 25.55586 [, string "cylinder",1.0,254,239,0,255 ] )
local startbusblip = createBlip ( 2184.10229, -1451.73291, 25.55586 [, int icon = 46, int size = 2, int r = 255, int g = 0, int b = 0, int a = 255, int ordering = 0, float visibleDistance = 16383.0 ] )
function startjobbus()
local bus = createVehicle ( 431, 2180.24292, -1460.47717, 25.53906 )
warpPedIntoVehicle ( getLocalPlayer, bus )
end
addEventHandler( "onMarkerHit", startbus, startjobbus )
Meta
<meta>
<info type="autobuspraca" version="1.0.0"></info>
<script src="c.lua" type="client"></script>
</meta>