local marker_1 = createMarker ( 3453.8, 1989.85, 50,\"cylinder\",1)local marker_2 = createMarker ( 3454.5, 2000, 50,\"cylinder\",1)function login_marker(playerSource)local player = getPlayerName(playerSource)setElementPosition (player, 2346.5,1518.2,50)fadeCamera (source, true)setCameraTarget (source, source) setPlayerBlurLevel ( source, 0 ) endaddEventHandler(\"onMarkerHit\", marker_1, login_marker)
local marker_1 = createMarker ( 2081.9465332031, -1700.7380371094, 13.3828125,\"cylinder\",1)local marker_2 = createMarker ( 2102.7658691406, -1685.2058105469, 13.544651031494,\"cylinder\",1)local tPos = {2102.7658691406, -1685.2058105469, 13.544651031494} -- teleport pozíciófunction login_marker(source) setElementPosition (source, tPos[1],tPos[2],tPos[3]) fadeCamera (source, true) setCameraTarget (source, source) setPlayerBlurLevel ( source, 0 ) endaddEventHandler(\"onMarkerHit\", marker_1, login_marker)
local connection = --ide jön egy sql export plfunction saveAllServers(p) if isElement(p) then -- setElementDatázáslocal dbid = tonumber(getElementData(p, \"acc.accountID\")) or 0local admin = tonumber(getElementData(p, \"acc.adminLevel\")) or 0dbExec... -- ide jön a dxExec része, itt menteted bele sql-be az értékeket(a lokalizált értéket írod be) dbExec(connection, \"UPDATE account SET dbid = ?, admin = ?, WHERE ID = ?\", dbid,admin)endend
local score = 55setElementData(root,\"valamiNev\",score)