Doffy Posted February 24, 2017 Share Posted February 24, 2017 ابي اللاعب اول ما يدخل الماركر حق الجيم ما يفتحله اللوحة حقت الجيم الا وهو معه شخصية سي جي واذا ما كان معه يقله لازم سي جي علشان يفتح Link to comment
Doffy Posted February 24, 2017 Author Share Posted February 24, 2017 1 minute ago, #_iMr.[E]coo said: getElementModel اوك تسلم انا بجرب وبعطيه محاولتي 7 minutes ago, #_iMr.[E]coo said: getElementModel محاولتي marker1 = createMarker(768.55798,8.74740,1000.70984-1,'cylinder',1.3,2,12,255,100) setElementInterior (marker1,5) function marker(player) if ( getElementModel( player,0 ) then if getElementType(player) == "player" and player == localPlayer then guiSetVisible(GUIEditor.window[1], true) showCursor(true) guiSetInputEnabled(true) end end end end addEventHandler("onClientMarkerHit", marker1, marker) getElementModel عرفت اخليها تفتح بس بشخصية اول ما احط ما تشتغل Link to comment
a7zan Posted February 24, 2017 Share Posted February 24, 2017 if ( getElementModel(player) == 0 ) then Link to comment
Doffy Posted February 24, 2017 Author Share Posted February 24, 2017 Just now, a7zan said: if ( getElementModel(player) == 0 ) then لحظة اجرب اشتغل بس ابي يجبله رسالة في البار شات لو ما معه سي جي ومو نافع وانا مشغل البار شات بس مو نافع مدري ليه marker1 = createMarker(768.55798,8.74740,1000.70984-1,'cylinder',1.3,2,12,255,100) setElementInterior (marker1,5) function marker(player) if ( getElementModel(player) == 0 ) then if getElementType(player) == "player" and player == localPlayer then guiSetVisible(GUIEditor.window[1], true) showCursor(true) guiSetInputEnabled(true) else exports["TopBarChat"]:sendClientMessage ("#FF0000 You Need Cj Skin To Buy This Stat",255,255,255,true ) end end end addEventHandler("onClientMarkerHit", marker1, marker) Link to comment
Jw8. Posted February 24, 2017 Share Posted February 24, 2017 4 hours ago, KinG_Himoo12 said: لحظة اجرب اشتغل بس ابي يجبله رسالة في البار شات لو ما معه سي جي ومو نافع وانا مشغل البار شات بس مو نافع مدري ليه marker1 = createMarker(768.55798,8.74740,1000.70984-1,'cylinder',1.3,2,12,255,100) setElementInterior (marker1,5) function marker(player) if ( getElementModel(player) == 0 ) then if getElementType(player) == "player" and player == localPlayer then guiSetVisible(GUIEditor.window[1], true) showCursor(true) guiSetInputEnabled(true) else exports["TopBarChat"]:sendClientMessage ("#FF0000 You Need Cj Skin To Buy This Stat",255,255,255,true ) end end end addEventHandler("onClientMarkerHit", marker1, marker) استخدم marker1 = createMarker(768.55798,8.74740,1000.70984-1,'cylinder',1.3,2,12,255,100) setElementInterior (marker1,5) function marker(player) if ( getElementModel(player) == 0 ) then if getElementType(player) == "player" and player == localPlayer then guiSetVisible(GUIEditor.window[1], true) showCursor(true) guiSetInputEnabled(true) else exports["TopBarChat"]:sendClientMessage (player,"#FF0000 You Need Cj Skin To Buy This Stat",255,255,255,true ) end end end addEventHandler("onClientMarkerHit", marker1, marker) Link to comment
Doffy Posted February 24, 2017 Author Share Posted February 24, 2017 34 minutes ago, DmAr511 said: استخدم marker1 = createMarker(768.55798,8.74740,1000.70984-1,'cylinder',1.3,2,12,255,100)setElementInterior (marker1,5)function marker(player)if ( getElementModel(player) == 0 ) then if getElementType(player) == "player" and player == localPlayer then guiSetVisible(GUIEditor.window[1], true) showCursor(true) guiSetInputEnabled(true) else exports["TopBarChat"]:sendClientMessage (player,"#FF0000 You Need Cj Skin To Buy This Stat",255,255,255,true ) end endendaddEventHandler("onClientMarkerHit", marker1, marker) ما نفع Link to comment
_Kinan Posted February 24, 2017 Share Posted February 24, 2017 (edited) الخطأ من اسم المود هنا exports["TopBarChat"]:sendClientMessage (player,"#FF0000 You Need Cj Skin To Buy This Stat",255,255,255,true ) لغة lua لغة Case Sensitive local ae = "a" local Ae = "A2" outputChatBox(ae) -- a outputChatBox(Ae) -- A2 الحل : exports["topbarchat"]:sendClientMessage ("#FF0000 You Need Cj Skin To Buy This Stat",255,255,255,true ) قلي لو أشتغل Edited February 24, 2017 by _Kinan Link to comment
^iiEcoo'x_) Posted February 24, 2017 Share Posted February 24, 2017 exports["TopBarChat"]:sendClientMessage ("#FF0000 You Need Cj Skin To Buy This Stat",255,255,255,true ) Link to comment
#Soking Posted February 25, 2017 Share Posted February 25, 2017 20 hours ago, DmAr511 said: استخدم marker1 = createMarker(768.55798,8.74740,1000.70984-1,'cylinder',1.3,2,12,255,100) setElementInterior (marker1,5) function marker(player) if ( getElementModel(player) == 0 ) then if getElementType(player) == "player" and player == localPlayer then guiSetVisible(GUIEditor.window[1], true) showCursor(true) guiSetInputEnabled(true) else exports["TopBarChat"]:sendClientMessage (player,"#FF0000 You Need Cj Skin To Buy This Stat",255,255,255,true ) end end end addEventHandler("onClientMarkerHit", marker1, marker) انت مسوي else من التحقق حق الامنت و التحقق حق localPlayer == player و المفروض تحقق الشخصيه اخر شي قبل تنفيذ الاكواد ولازم تتحقق ان الاعب في العالم رقم ٥ لان لو لمس المركر لان المركرات بالكلينت لو كانت بديمشن او عالم ثاني او لو انت مريت من تحت المركر بيتنفذ حدث لمس المركر الافضل تسويها في ملف سيرفر و تسوي تريقر 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