1. ne cliens oldalon hívd le a kocsit mert nem lehet beszállni
Cliens oldal:
function adjadmaoda(hitPlayer,matchingDimension)
if matchingDimension and hitPlayer == localPlayer then
if source == markerneve then
triggerServerEvent(\"spawnVeh\",localPlayer,localPlayer)
end
end
end
addEventHandler ( \"onClientMarkerHit\", getRootElement(), adjadmaoda )
Server oldal
addEvent(\"spawnVeh\",true)
addEventHandler(\"spawnVeh\",getRootElement(),function(player)
veh = createVehicle(vehID,unpack({getElementPosition(player)}))
end
)