طيب لو اختصر ع نفسي كذا
يضبط ؟
Marker = createMarker(x, y, z, "cylinder", 10, 255, 0, 0, 150)
Marker2 = createMarker(x, y, z, "cylinder", 10, 255, 0, 0, 150)
addEventHandler("onMarkerHit", Marker,
function (player)
if source == run1 and getElementType (player) == "player" and not isPedInVehicle (player) and getPlayerAccount(player) and not isGuestAccount(getPlayerAccount(player))) then
if not isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)), aclGetGroup("Console")) then
setElementPosition( player, x, y, z)
outputChatBox ( "لا يمكنك الدخول ", player, 255, 0, 0, true )
elseif source == Marker2 getElementType (player) == "player" and not isPedInVehicle (player) then
local x, y, z = unpack(run.prun[math.random(#run.prun)])
setElementPosition(player, x, y, z)
outputChatBox ( 'لقد دخلت ', player ) end
end
end
end)