Mr.king Posted November 29, 2012 Share Posted November 29, 2012 السلام عليكم انا ابغى كود الماركر لو لمسته ينقلك بس لو كنت في قروب معين واذاما كنت في القروب تجي نافذة وانا ابي احط اكثر من قروب لو كنت في واحدمنهم ينقلني Link to comment
Sparrow Posted November 29, 2012 Share Posted November 29, 2012 createMarker getTeamName getPlayerTeam setElementPosition ----- "onClientMarkerHit" Link to comment
Mr.king Posted November 29, 2012 Author Share Posted November 29, 2012 createMarker getTeamName getPlayerTeam setElementPosition ----- "onClientMarkerHit" اخوي انا ابي قروب مو فريق Link to comment
Sparrow Posted November 29, 2012 Share Posted November 29, 2012 ACL قروب ? isObjectInACLGroup ----------- guiCreateWindow guiSetVisible showCursor Link to comment
Mr.king Posted November 29, 2012 Author Share Posted November 29, 2012 طيب ذاالكود صح marker = createMarker ( -3932.8427734375, -3015.9045410156, 350.49992553711, "arrow", 2, 255, 255, 0 ) if isObjectInACLGroup ("user."..getAccountName(getPlayerAccount(player)), aclGetGroup( "Console" ) ) then setElementPosition( -3932.8427734375, -3015.9045410156, 350.49992553711) else outputChatBox("your not Admin", 255, 100, 0, true) end end addEventHandler("onClientMarkerHit", marker, Link to comment
Mr.king Posted November 29, 2012 Author Share Posted November 29, 2012 خلاص مو لازم نافذة Link to comment
Mr.king Posted November 29, 2012 Author Share Posted November 29, 2012 طيب ضا الكودصح اذا خطأ عدله marker = createMarker ( -3932.8427734375, -3015.9045410156, 350.49992553711, "arrow", 2, 255, 255, 0 ) if isObjectInACLGroup ("user."..getAccountName(getPlayerAccount(player)), aclGetGroup( "Console" ) ) then setElementPosition( -3932.8427734375, -3015.9045410156, 350.49992553711) else outputChatBox("your not Admin", 255, 100, 0, true) end end addEventHandler("onMarkerHit", marker) Link to comment
./BlackBird# Posted November 29, 2012 Share Posted November 29, 2012 الاخطاء 3 ما حطيت فنكشن و ما حددت ينقل مين و ما حطيت يطلع الكلام الشات لمين Link to comment
TAPL Posted November 29, 2012 Share Posted November 29, 2012 طيب ضا الكودصحاذا خطأ عدله marker = createMarker ( -3932.8427734375, -3015.9045410156, 350.49992553711, "arrow", 2, 255, 255, 0 ) if isObjectInACLGroup ("user."..getAccountName(getPlayerAccount(player)), aclGetGroup( "Console" ) ) then setElementPosition( -3932.8427734375, -3015.9045410156, 350.49992553711) else outputChatBox("your not Admin", 255, 100, 0, true) end end addEventHandler("onMarkerHit", marker) -- Server Side -- marker = createMarker(-3932.84, -3015.9, 350.5, "arrow", 2, 255, 255, 0) function onHit(player) if isObjectInACLGroup ("user."..getAccountName(getPlayerAccount(player)), aclGetGroup("Console")) then setElementPosition(player, -3932.84, -3015.9, 350.5) else outputChatBox("your not Admin", player, 255, 100, 0, true) end end addEventHandler("onMarkerHit", marker, onHit) Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now