LOAM Posted February 25, 2017 Posted February 25, 2017 السلام عليكم انا عامل مركر سيارات عوز تيم الحرامى بس هوا الى يقدر ياخد السياره من المركر فقط ازاى شباب
#Soking Posted February 25, 2017 Posted February 25, 2017 if ( getPlayerTeam ( source ) ~= getTeamFromName ( 'aTeamName' ) ) then return end
#BrosS Posted February 25, 2017 Posted February 25, 2017 21 minutes ago, #Soking said: if ( getPlayerTeam ( source ) ~= getTeamFromName ( 'aTeamName' ) ) then return end Why return ? -,-
Abu-Solo Posted February 25, 2017 Posted February 25, 2017 11 minutes ago, #BrosS said: Why return ? -,- Because alawaz
_Kinan Posted February 25, 2017 Posted February 25, 2017 23 minutes ago, #BrosS said: Why return ? -,- ~=
#BrosS Posted February 25, 2017 Posted February 25, 2017 17 minutes ago, _Kinan said: ~= ماشفتها ضض 1
AHMED MOSTAFA Posted February 25, 2017 Posted February 25, 2017 2 hours ago, #Soking said: if ( getPlayerTeam ( source ) ~= getTeamFromName ( 'aTeamName' ) ) then return end فين فرصته عشان يجرب بنفسه ! 1
#Soking Posted February 25, 2017 Posted February 25, 2017 2 hours ago, Killer Project said: فين فرصته عشان يجرب بنفسه ! مدري دور عليها معه 2
^iiEcoo'x_) Posted February 25, 2017 Posted February 25, 2017 29 minutes ago, #Soking said: مدري دور عليها معه
LOAM Posted February 27, 2017 Author Posted February 27, 2017 On ٢٥/٢/٢٠١٧ at 23:07, #_iMr.[E]coo said: local marker = createMarker (2485.00000, -1667.00000, 13.34375, "cylinder", 1.5, 255, 255, 0, 170 ) createBlip (2485.00000, -1667.00000, 13.34375, 59 ,2 ) GUIEditor = { memo = {}, button = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(299, 118, 514, 473, "تجربة ", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFF0000") GUIEditor.memo[1] = guiCreateMemo(11, 17, 494, 290, "By : [S]haHeR\n\ntest :]\n\n", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(159, 401, 226, 62, "إغلاق", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") guiSetVisible (GUIEditor.window[1], false) addEventHandler("onClientMarkerHit",marker, --عند لمس الماركر المحدد function()--وظيفة if ( getPlayerTeam ( source ) ~= getTeamFromName ( 'Criminal' ) ) then return end guiSetVisible(GUIEditor.window[1],true)--تفتح اللوحة showCursor(true) --نظهر الماوس end --نهاية الوظيفة )--نهاية قوس الحدث addEventHandler("onClientGUIClick",root, --عند الضغط على زر function()--وظيفة if (source == GUIEditor.button[1]) then--ان كان الزر = زر الاغلاق guiSetVisible(GUIEditor.window[1],false)--اغلاق اللوحة showCursor(false)--اخفاء الماوس end--نهاية التحقق end--نهاية الوظيفة )--نهاية قوس الحدث حطيته بعد عند لمس الماركر برضو اللوحه بتفتح لكل اللعبين
#BrosS Posted February 27, 2017 Posted February 27, 2017 (edited) 10 minutes ago, LOAM said: local marker = createMarker (2485.00000, -1667.00000, 13.34375, "cylinder", 1.5, 255, 255, 0, 170 ) createBlip (2485.00000, -1667.00000, 13.34375, 59 ,2 ) GUIEditor = { memo = {}, button = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(299, 118, 514, 473, "تجربة ", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFF0000") GUIEditor.memo[1] = guiCreateMemo(11, 17, 494, 290, "By : [S]haHeR\ntest :]\n\n", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(159, 401, 226, 62, "إغلاق", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") guiSetVisible (GUIEditor.window[1], false) addEventHandler("onClientMarkerHit",marker, --عند لمس الماركر المحدد function()--وظيفة if ( getPlayerTeam ( source ) ~= getTeamFromName ( 'Criminal' ) ) then return end guiSetVisible(GUIEditor.window[1],true)--تفتح اللوحة showCursor(true) --نظهر الماوس end --نهاية الوظيفة )--نهاية قوس الحدث addEventHandler("onClientGUIClick",root, --عند الضغط على زر function()--وظيفة if (source == GUIEditor.button[1]) then--ان كان الزر = زر الاغلاق guiSetVisible(GUIEditor.window[1],false)--اغلاق اللوحة showCursor(false)--اخفاء الماوس end--نهاية التحقق end--نهاية الوظيفة )--نهاية قوس الحدث حطيته بعد عند لمس الماركر برضو اللوحه بتفتح لكل اللعبين أنت مسوي اللي بتيم حرامي مايقدر يفتح اللوحة Edited February 27, 2017 by #BrosS
LOAM Posted February 27, 2017 Author Posted February 27, 2017 4 minutes ago, #BrosS said: وين سورس الحدث ؟ addEventHandler("onClientMarkerHit",marker, --عند لمس الماركر المحدد function()--وظيفة if ( getPlayerTeam ( source ).."Criminal" ~= getTeamFromName ( 'Criminal' ) ) then return end guiSetVisible(GUIEditor.window[1],true)--تفتح اللوحة showCursor(true) --نظهر الماوس end --نهاية الوظيفة )--نهاية قوس الحدث addEventHandler("onClientGUIClick",root, --عند الضغط على زر function()--وظيفة if (source == GUIEditor.button[1]) then--ان كان الزر = زر الاغلاق guiSetVisible(GUIEditor.window[1],false)--اغلاق اللوحة showCursor(false)--اخفاء الماوس end--نهاية التحقق end--نهاية الوظيفة )--نهاية قوس الحدث هل هذه صحيح
#BrosS Posted February 27, 2017 Posted February 27, 2017 ب بنفسه ! مدري دور عليها معه Like this Quote #_iMr.[E]coo 119 #_iMr.[E]coo Members 999 posts Posted Saturday at 22:07 · On 2/25/2017 at 21:38, #Soking said: مدري دور عليها معه :lol: Like this Quote LOAM 3 LOAM Members 21 posts Posted 25 minutes ago · On 2/25/2017 at 22:07, #_iMr.[E]coo said: :lol: ? local marker = createMarker (2485.00000, -1667.00000, 13.34375, "cylinder", 1.5, 255, 255, 0, 170 ) createBlip (2485.00000, -1667.00000, 13.34375, 59 ,2 ) GUIEditor = { memo = {}, button = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(299, 118, 514, 473, "تجربة ", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFF0000") GUIEditor.memo[1] = guiCreateMemo(11, 17, 494, 290, "By : [S]haHeR\n\ntest :]\n\n", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(159, 401, 226, 62, "إغلاق", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") guiSetVisible (GUIEditor.window[1], false) addEventHandler("onClientMarkerHit",marker, --عند لمس الماركر المحدد function()--وظيفة if ( getPlayerTeam ( source ) = getTeamFromName ( 'Criminal' ) ) then return end guiSetVisible(GUIEditor.window[1],true)--تفتح اللوحة showCursor(true) --نظهر الماوس end --نهاية الوظيفة )--نهاية قوس الحدث addEventHandler("onClientGUIClick",root, --عند الضغط على زر function()--وظيفة if (source == GUIEditor.button[1]) then--ان كان الزر = زر الاغلاق guiSetVisible(GUIEditor.window[1],false)--اغلاق اللوحة showCursor(false)--اخفاء الماوس end--نهاية التحقق end--نهاية الوظيفة ) لول اسف لا تنسخ وش طلع فوق الماركر
LOAM Posted February 27, 2017 Author Posted February 27, 2017 30 minutes ago, #BrosS said: ب بنفسه ! مدري دور عليها معه Like this Quote #_iMr.[E]coo 119 #_iMr.[E]coo Members 999 posts Posted Saturday at 22:07 · On 2/25/2017 at 21:38, #Soking said: مدري دور عليها معه :lol: Like this Quote LOAM 3 LOAM Members 21 posts Posted 25 minutes ago · On 2/25/2017 at 22:07, #_iMr.[E]coo said: :lol: ? local marker = createMarker (2485.00000, -1667.00000, 13.34375, "cylinder", 1.5, 255, 255, 0, 170 ) createBlip (2485.00000, -1667.00000, 13.34375, 59 ,2 ) GUIEditor = { memo = {}, button = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(299, 118, 514, 473, "تجربة ", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFF0000") GUIEditor.memo[1] = guiCreateMemo(11, 17, 494, 290, "By : [S]haHeR\ntest :]\n\n", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(159, 401, 226, 62, "إغلاق", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") guiSetVisible (GUIEditor.window[1], false) addEventHandler("onClientMarkerHit",marker, --عند لمس الماركر المحدد function()--وظيفة if ( getPlayerTeam ( source ) = getTeamFromName ( 'Criminal' ) ) then return end guiSetVisible(GUIEditor.window[1],true)--تفتح اللوحة showCursor(true) --نظهر الماوس end --نهاية الوظيفة )--نهاية قوس الحدث addEventHandler("onClientGUIClick",root, --عند الضغط على زر function()--وظيفة if (source == GUIEditor.button[1]) then--ان كان الزر = زر الاغلاق guiSetVisible(GUIEditor.window[1],false)--اغلاق اللوحة showCursor(false)--اخفاء الماوس end--نهاية التحقق end--نهاية الوظيفة ) لول اسف لا تنسخ وش طلع فوق الماركر ولا يهمك
Adham Posted February 27, 2017 Posted February 27, 2017 (edited) ليش حاطين هنا if ( getPlayerTeam ( source ) ~= getTeamFromName ( 'Criminal' ) ) then return end source ? if ( getPlayerTeam ( localPlayer ) ) == getTeamFromName ( "Criminal" ) then Edited February 27, 2017 by Deativated
#Soking Posted February 27, 2017 Posted February 27, 2017 23 minutes ago, Deativated said: ليش حاطين هنا if ( getPlayerTeam ( source ) ~= getTeamFromName ( 'Criminal' ) ) then return end source ? if ( getPlayerTeam ( localPlayer ) ) == getTeamFromName ( "Criminal" ) then هو يغير السورس للوكال و يخلي اليوترن و الاند
^iiEcoo'x_) Posted February 27, 2017 Posted February 27, 2017 11 minutes ago, KinG_Himoo12 said: getPlayerTeam ؟
AHMED MOSTAFA Posted March 9, 2017 Posted March 9, 2017 On ٢٥/٢/٢٠١٧ at 17:47, LOAM said: السلام عليكم انا عامل مركر سيارات عوز تيم الحرامى بس هوا الى يقدر ياخد السياره من المركر فقط ازاى شباب ----------------------------------------------------------------- Marker = createMarker ( x,y,z, "cylinder", 2, 255, 255, 0, 0 ) theTeam = "teamName" -- the team name ----------------------------------------------------------------- addEventHandler("onClientMarkerHit",Marker, function ( DeveloperAhmed ) if (getElementType (DeveloperAhmed) == "player") and (DeveloperAhmed == localPlayer) then local Team = getPlayerTeam(getLocalPlayer()) if Team and getTeamName(Team) == theTeam then showCursor(true) guiSetVisible( WindowName ,true) -- the window name exports["guimessages"]:outputClient("The window is showed...", 255, 255, 0,source) else showCursor(false) guiSetVisible( WindowName ,false) -- the window name exports["guimessages"]:outputClient("You should be in the team > "..theTeam, 255, 255, 0,source) end end end ) ----------------------------------------------------------------- جرب هذا ومع العلم انا ما جربتها ترا عندي اللعبة مب راضية تشتغل On ٢٥/٢/٢٠١٧ at 22:38, #Soking said: مدري دور عليها معه هايني دورت 2
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