Jump to content

{helpppppppppp}


Recommended Posts

انا اخدت كود ده بس ما شتغل

https://forum.multitheftauto.com/viewtopic.php?f ... 84#p655315

local marker = createMarker ( 4224, -1842.80005, 0.5, "cylinder", 2, 255, 255, 0, 0 ); 
createBlipAttachedTo ( marker, 15 ); 
  
function changeLocation ( person ) 
    if getElementType ( person ) == "player" then 
        if isObjectInACLGroup ( "user."..getAccountName ( getPlayerAccount ( person ) ), aclGetGroup ( "Console" ) ) then 
            setElementPosition ( person, 4224.67236, -1829.95642, 4.95625 ); 
        else 
            outputChatBox ( "لا يمكن إلا للأدمن الإنتقال !!!", person, 255, 0, 0, true ); 
        end 
    end 
end 
addEventHandler ( "onMarkerHit", marker, changeLocation ); 

ممكن تشوف وش الخطاء الي فيه

ملاحظة انا معي رتبت كونسل

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...