MOMO3011 Posted October 17, 2013 Share Posted October 17, 2013 ارجو تصحيح الكود التالي --******************* -- By Manster .. --******************* local Manstermarker = createMarker(x,y,z, "arrow", 2, 251, 96, 3, 153)-- احداثيات الماركر خارج البيت addEventHandler("onMarkerHit", Manstermarker, function (player) if getElementType(player) == "player" then if ( isPedInVehicle(player) ) then return end if ( getElementData(player, "Group") ~= "Group Name" ) then outputChatBox("#FF0000* This House Only For Group Name ", player, 255, 255, 0, true) else outputChatBox("#00ff00* Hello #fff000.:[#ff0000 "..getPlayerName(player).." #fff000]:.", player, 255, 255, 0, true) setElementInterior(player, 1) setElementPosition(player, x,y,z)-- احداثيات دخول البيت end end end) local Manstermarker2 = createMarker(x,y,z, "arrow", 2, 251, 96, 3, 153)-- احداثيات الماركر داخل البيت setElementInterior(Manstermarker2, 1) addEventHandler("onMarkerHit", Manstermarker2, function (MarkerHit) if getElementType(MarkerHit) == "player" then if ( getElementData(MarkerHit, "Group") ~= "Group Name" ) then outputChatBox("#FF0000* This House Only For Group Name ", MarkerHit, 255, 255, 0, true) else setElementInterior(MarkerHit, 0) setElementPosition(MarkerHit, x,y,z)-- احداثيات خارج البيت outputChatBox("#FF0000*Good Bye #fff000.:[ #ff0000"..getPlayerName(MarkerHit).." #fff000]:.", MarkerHit, 255, 255, 0, true) end end end) Link to comment
aL.Kfo Posted October 17, 2013 Share Posted October 17, 2013 الكود وش فيه الكود مونستر مافيه شي ولو حست فيه و خرب خذ الاصلي لزم تتعب الشباب عاد اذا كنت فاهمك غلط ايام سوري Link to comment
Stranger Posted October 17, 2013 Share Posted October 17, 2013 ارجو تصحيح الكود التالي --******************* -- By Manster .. --******************* local Manstermarker = createMarker(x,y,z, "arrow", 2, 251, 96, 3, 153)-- احداثيات الماركر خارج البيت addEventHandler("onMarkerHit", Manstermarker, function (player) if getElementType(player) == "player" then if ( isPedInVehicle(player) ) then return end if ( getElementData(player, "Group") ~= "Group Name" ) then outputChatBox("#FF0000* This House Only For Group Name ", player, 255, 255, 0, true) else outputChatBox("#00ff00* Hello #fff000.:[#ff0000 "..getPlayerName(player).." #fff000]:.", player, 255, 255, 0, true) setElementInterior(player, 1) setElementPosition(player, x,y,z)-- احداثيات دخول البيت end end end) local Manstermarker2 = createMarker(x,y,z, "arrow", 2, 251, 96, 3, 153)-- احداثيات الماركر داخل البيت setElementInterior(Manstermarker2, 1) addEventHandler("onMarkerHit", Manstermarker2, function (MarkerHit) if getElementType(MarkerHit) == "player" then if ( getElementData(MarkerHit, "Group") ~= "Group Name" ) then outputChatBox("#FF0000* This House Only For Group Name ", MarkerHit, 255, 255, 0, true) else setElementInterior(MarkerHit, 0) setElementPosition(MarkerHit, x,y,z)-- احداثيات خارج البيت outputChatBox("#FF0000*Good Bye #fff000.:[ #ff0000"..getPlayerName(MarkerHit).." #fff000]:.", MarkerHit, 255, 255, 0, true) end end end) الكود اول شي شغال مافيه شي انت حط الاحداثيات بس 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