Ja[B]er[X]Pro Posted April 8, 2016 Share Posted April 8, 2016 شالفرق بين لوكل بلآير + بلآير ؟ بلاير غير معرفة localPlayer = الاعب الذي قام بالحدث فقط ب client source = المصدر = مصدر الحدث فقط ب server Link to comment
#ExTrA..! Posted April 8, 2016 Author Share Posted April 8, 2016 مصارت تفتح اللوحة يوم ضفت لوكل بلآير + نفس الكلام يطلع بدي بق Link to comment
#ExTrA..! Posted April 8, 2016 Author Share Posted April 8, 2016 مصارت تفتح اللوحة يوم ضفت لوكل بلآير + نفس الكلام يطلع بدي بق Link to comment
Ja[B]er[X]Pro Posted April 8, 2016 Share Posted April 8, 2016 مصارت تفتح اللوحة يوم ضفت لوكل بلآير + نفس الكلام يطلع بدي بق قم بتبديل كود الزر الذي يعطيك دم 0 بالكود دا addEventHandler("onClientGUIClick",root, function() if ( source == btn ) then setElementHealth(localPlayer,0) outputChatBox("تم الانتحار",localPlayer,255,2,2) end end ) Link to comment
Ja[B]er[X]Pro Posted April 8, 2016 Share Posted April 8, 2016 مصارت تفتح اللوحة يوم ضفت لوكل بلآير + نفس الكلام يطلع بدي بق قم بتبديل كود الزر الذي يعطيك دم 0 بالكود دا addEventHandler("onClientGUIClick",root, function() if ( source == btn ) then setElementHealth(localPlayer,0) outputChatBox("تم الانتحار",localPlayer,255,2,2) end end ) Link to comment
YourMind Posted April 8, 2016 Share Posted April 8, 2016 wnd = guiCreateWindow(467, 243, 348, 205, "", false) guiWindowSetSizable(wnd, false) guiSetVisible( wnd, false) btn = guiCreateButton(40, 63, 265, 103, "Kill ", false, wnd) guiSetFont(btn, "sa-header") addEventHandler("onClientGUIClick",root, function() if ( source == btn ) then triggerServerEvent ("kill",localPlayer) end end) function Open() guiSetVisible (wnd,not guiGetVisible(wnd)) guiSetInputEnabled (guiGetVisible(wnd)) showCursor (guiGetVisible(wnd)) end bindKey("o", "down", Open) -- server addEvent ("kill",true) addEventHandler ("kill",root, function () killPed (source,source) outputChatBox ("تم الانتحار",source,5,255,5) end ) لوكال بلاير اللي هو الاعب المحلي ( الاعب الاوفلاين بأختصار ) و لازم يستخدم في جهة الكلينت انما بلاير دي ولا حاجة الحدث parameter علي حسب Link to comment
YourMind Posted April 8, 2016 Share Posted April 8, 2016 wnd = guiCreateWindow(467, 243, 348, 205, "", false) guiWindowSetSizable(wnd, false) guiSetVisible( wnd, false) btn = guiCreateButton(40, 63, 265, 103, "Kill ", false, wnd) guiSetFont(btn, "sa-header") addEventHandler("onClientGUIClick",root, function() if ( source == btn ) then triggerServerEvent ("kill",localPlayer) end end) function Open() guiSetVisible (wnd,not guiGetVisible(wnd)) guiSetInputEnabled (guiGetVisible(wnd)) showCursor (guiGetVisible(wnd)) end bindKey("o", "down", Open) -- server addEvent ("kill",true) addEventHandler ("kill",root, function () killPed (source,source) outputChatBox ("تم الانتحار",source,5,255,5) end ) لوكال بلاير اللي هو الاعب المحلي ( الاعب الاوفلاين بأختصار ) و لازم يستخدم في جهة الكلينت انما بلاير دي ولا حاجة الحدث parameter علي حسب Link to comment
Me[Z]oO Posted April 8, 2016 Share Posted April 8, 2016 wnd = guiCreateWindow(467, 243, 348, 205, "", false) guiWindowSetSizable(wnd, false) guiSetVisible( wnd, false) btn = guiCreateButton(40, 63, 265, 103, "Kill ", false, wnd) guiSetFont(btn, "sa-header") addEventHandler("onClientGUIClick",root, function() if ( source == btn ) then setElementHealth(localPlayer,0) outputChatBox("تم الانتحار",255,2,2,true) end end ) bindKey("o", "down", guiSetVisible(wnd,not guiGetVisible(wnd) showCursor(guiGetVisible(wnd)) end) Link to comment
Me[Z]oO Posted April 8, 2016 Share Posted April 8, 2016 wnd = guiCreateWindow(467, 243, 348, 205, "", false) guiWindowSetSizable(wnd, false) guiSetVisible( wnd, false) btn = guiCreateButton(40, 63, 265, 103, "Kill ", false, wnd) guiSetFont(btn, "sa-header") addEventHandler("onClientGUIClick",root, function() if ( source == btn ) then setElementHealth(localPlayer,0) outputChatBox("تم الانتحار",255,2,2,true) end end ) bindKey("o", "down", guiSetVisible(wnd,not guiGetVisible(wnd) showCursor(guiGetVisible(wnd)) end) Link to comment
Ja[B]er[X]Pro Posted April 8, 2016 Share Posted April 8, 2016 wnd = guiCreateWindow(467, 243, 348, 205, "", false) guiWindowSetSizable(wnd, false) guiSetVisible( wnd, false) btn = guiCreateButton(40, 63, 265, 103, "Kill ", false, wnd) guiSetFont(btn, "sa-header") addEventHandler("onClientGUIClick",root, function() if ( source == btn ) then setElementHealth(localPlayer,0) outputChatBox("تم الانتحار",255,2,2,true) end end ) bindKey("o", "down", guiSetVisible(wnd,not guiGetVisible(wnd) showCursor(guiGetVisible(wnd)) end) ميزو شوف اظهار كلام بالشات هو مشكلته السترنج اين واكواد الالوان Link to comment
Ja[B]er[X]Pro Posted April 8, 2016 Share Posted April 8, 2016 wnd = guiCreateWindow(467, 243, 348, 205, "", false) guiWindowSetSizable(wnd, false) guiSetVisible( wnd, false) btn = guiCreateButton(40, 63, 265, 103, "Kill ", false, wnd) guiSetFont(btn, "sa-header") addEventHandler("onClientGUIClick",root, function() if ( source == btn ) then setElementHealth(localPlayer,0) outputChatBox("تم الانتحار",255,2,2,true) end end ) bindKey("o", "down", guiSetVisible(wnd,not guiGetVisible(wnd) showCursor(guiGetVisible(wnd)) end) ميزو شوف اظهار كلام بالشات هو مشكلته السترنج اين واكواد الالوان Link to comment
#ExTrA..! Posted April 8, 2016 Author Share Posted April 8, 2016 أخوي كل شوي تطلع مشاكل وتنحل مشاكل انحلت مشكلة القتل الان ماتتقفل اللوحة بس تنفتح يوم اضغط الزر Link to comment
#ExTrA..! Posted April 8, 2016 Author Share Posted April 8, 2016 أخوي كل شوي تطلع مشاكل وتنحل مشاكل انحلت مشكلة القتل الان ماتتقفل اللوحة بس تنفتح يوم اضغط الزر Link to comment
YourMind Posted April 8, 2016 Share Posted April 8, 2016 wnd = guiCreateWindow(467, 243, 348, 205, "", false) guiWindowSetSizable(wnd, false) guiSetVisible( wnd, false) btn = guiCreateButton(40, 63, 265, 103, "Kill ", false, wnd) guiSetFont(btn, "sa-header") addEventHandler("onClientGUIClick",root, function() if ( source == btn ) then triggerServerEvent ("kill",localPlayer) end end) function Open() guiSetVisible (wnd,not guiGetVisible(wnd)) showCursor (guiGetVisible(wnd)) end bindKey("o", "down", Open) Link to comment
YourMind Posted April 8, 2016 Share Posted April 8, 2016 wnd = guiCreateWindow(467, 243, 348, 205, "", false) guiWindowSetSizable(wnd, false) guiSetVisible( wnd, false) btn = guiCreateButton(40, 63, 265, 103, "Kill ", false, wnd) guiSetFont(btn, "sa-header") addEventHandler("onClientGUIClick",root, function() if ( source == btn ) then triggerServerEvent ("kill",localPlayer) end end) function Open() guiSetVisible (wnd,not guiGetVisible(wnd)) showCursor (guiGetVisible(wnd)) end bindKey("o", "down", Open) Link to comment
Ja[B]er[X]Pro Posted April 8, 2016 Share Posted April 8, 2016 أخوي كل شوي تطلع مشاكل وتنحل مشاكلانحلت مشكلة القتل الان ماتتقفل اللوحة بس تنفتح يوم اضغط الزر bindKey("o", "down", guiSetVisible(wnd,not guiGetVisible(wnd)) showCursor(guiGetVisible(wnd)) end) Link to comment
Ja[B]er[X]Pro Posted April 8, 2016 Share Posted April 8, 2016 أخوي كل شوي تطلع مشاكل وتنحل مشاكلانحلت مشكلة القتل الان ماتتقفل اللوحة بس تنفتح يوم اضغط الزر bindKey("o", "down", guiSetVisible(wnd,not guiGetVisible(wnd)) showCursor(guiGetVisible(wnd)) end) Link to comment
Ahmed Ly Posted April 8, 2016 Share Posted April 8, 2016 أخوي كل شوي تطلع مشاكل وتنحل مشاكلانحلت مشكلة القتل الان ماتتقفل اللوحة بس تنفتح يوم اضغط الزر اضغط علي حرف O مو صفر و اتاكد من ملف الميتا Link to comment
Ahmed Ly Posted April 8, 2016 Share Posted April 8, 2016 أخوي كل شوي تطلع مشاكل وتنحل مشاكلانحلت مشكلة القتل الان ماتتقفل اللوحة بس تنفتح يوم اضغط الزر اضغط علي حرف O مو صفر و اتاكد من ملف الميتا Link to comment
YourMind Posted April 8, 2016 Share Posted April 8, 2016 ردكم احسن من ردي مثلاً ؟ اعتقد اني افدته خلاص -.- Link to comment
YourMind Posted April 8, 2016 Share Posted April 8, 2016 ردكم احسن من ردي مثلاً ؟ اعتقد اني افدته خلاص -.- Link to comment
Ja[B]er[X]Pro Posted April 8, 2016 Share Posted April 8, 2016 ردكم احسن من ردي مثلاً ؟اعتقد اني افدته خلاص -.- انا اسف ما انتبهت لردك +++ الكل يساعد هنا حد يساعد بموضوعي هههههه https://forum.multitheftauto.com/viewtopic.php?f ... 9&start=15 Link to comment
Ja[B]er[X]Pro Posted April 8, 2016 Share Posted April 8, 2016 ردكم احسن من ردي مثلاً ؟اعتقد اني افدته خلاص -.- انا اسف ما انتبهت لردك +++ الكل يساعد هنا حد يساعد بموضوعي هههههه https://forum.multitheftauto.com/viewtopic.php?f ... 9&start=15 Link to comment
#ExTrA..! Posted April 8, 2016 Author Share Posted April 8, 2016 ما شي ي ديس 2 ماتقفل اللوحة Link to comment
#ExTrA..! Posted April 8, 2016 Author Share Posted April 8, 2016 ما شي ي ديس 2 ماتقفل اللوحة 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