-
Posts
779 -
Joined
-
Last visited
Everything posted by Ja[B]er[X]Pro
-
كود اعطاء درع يجب يكون سيرفر
-
كود اعطاء درع يجب يكون سيرفر
-
اسف ان رفعت الموضوع لكن لدي طريقة افضل روح عند كود فتح اللوحة بزر وضيف به guiGridListClear()
-
اسف ان رفعت الموضوع لكن لدي طريقة افضل روح عند كود فتح اللوحة بزر وضيف به guiGridListClear()
-
: | وش يلي يضحك ؟ مدري : |
-
: | وش يلي يضحك ؟ مدري : |
-
ضع جزء استقبال الترايقرات في الكلينت
-
ضع جزء استقبال الترايقرات في الكلينت
-
اسف لكن كودك هريسة ID بالترايقر ما هي معرفة table[source] ما تحتاجه createVehicle( id , PosX , PosY , PosZ ) الي فهمته بانك وضعت له مكان يضع الايدي + الاحداثيات لكن هو يبي تيجي بمكانه ويبي ايضاً يكون راكبها لذلك تحتاج warpPedIntoVehicle getElementPosition
-
اسف لكن كودك هريسة ID بالترايقر ما هي معرفة table[source] ما تحتاجه createVehicle( id , PosX , PosY , PosZ ) الي فهمته بانك وضعت له مكان يضع الايدي + الاحداثيات لكن هو يبي تيجي بمكانه ويبي ايضاً يكون راكبها لذلك تحتاج warpPedIntoVehicle getElementPosition
-
تفضل اخي --client GUIEditor.window[1] = guiCreateWindow(420, 190, 361, 182, "Test", false) guiWindowSetSizable(GUIEditor.window[1], false) give = guiCreateButton(21, 47, 93, 33, "Give Car", false, GUIEditor.window[1]) take = guiCreateButton(134, 47, 93, 33, "Destroy Car", false, GUIEditor.window[1]) kill = guiCreateButton(247, 47, 93, 33, "Slap", false, GUIEditor.window[1]) health = guiCreateButton(21, 123, 93, 33, "100 Health", false, GUIEditor.window[1]) armor = guiCreateButton(134, 123, 93, 33, "100 Armor", false, GUIEditor.window[1]) fly = guiCreateButton(247, 123, 93, 33, "Fly Car", false, GUIEditor.window[1]) addEventHandler("onClientGUIClick",root, function localplayer() if source == health then setElementHealth(localplayer,100) outputChatBox("Done 100 Health",localplayer,255,24,21,true) end end ) addEventHandler("onClientGUIClick",root, function localplayer() if source == armor then setPedArmor(localplayer,100) outputChatBox("Done give armor Happy",localplayer,255,254,24,true) end end ) addEventHandler("onClientGUIClick",root, function localplayer() if source == kill then setElementHealth(localplayer,100) outputChatBox("Done Kill",localplayer,255,24,21,true) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function localplayer() if source == fly then setWorldSpecialPropertyEnabled (localplayer,"aircars", true ) outputChatBox("You Can Fly know !!",localplayer,253,35,32) end end ) addEventHandler("onClientGUIClick",root,function() if source == take then if isPedInVehicle ( localPlayer ) then destroyElement ( getPedOccupiedVehicle(localPlayer) ) end end end ) addEventHandler("onClientGUIClick",root,function() if (source == give) then triggerServerEvent ( "GiveVehicle",localPlayer) end end) --server addEvent("GiveVehicle",true) addEventHandler("GiveVehicle",root,function() local x,y,z = getElementPosition(localPlayer) local vehicle = createVehicle(ID,x,y,z) warpPedIntoVehicle(localPlayer,vehicle) end)
-
تفضل اخي --client GUIEditor.window[1] = guiCreateWindow(420, 190, 361, 182, "Test", false) guiWindowSetSizable(GUIEditor.window[1], false) give = guiCreateButton(21, 47, 93, 33, "Give Car", false, GUIEditor.window[1]) take = guiCreateButton(134, 47, 93, 33, "Destroy Car", false, GUIEditor.window[1]) kill = guiCreateButton(247, 47, 93, 33, "Slap", false, GUIEditor.window[1]) health = guiCreateButton(21, 123, 93, 33, "100 Health", false, GUIEditor.window[1]) armor = guiCreateButton(134, 123, 93, 33, "100 Armor", false, GUIEditor.window[1]) fly = guiCreateButton(247, 123, 93, 33, "Fly Car", false, GUIEditor.window[1]) addEventHandler("onClientGUIClick",root, function localplayer() if source == health then setElementHealth(localplayer,100) outputChatBox("Done 100 Health",localplayer,255,24,21,true) end end ) addEventHandler("onClientGUIClick",root, function localplayer() if source == armor then setPedArmor(localplayer,100) outputChatBox("Done give armor Happy",localplayer,255,254,24,true) end end ) addEventHandler("onClientGUIClick",root, function localplayer() if source == kill then setElementHealth(localplayer,100) outputChatBox("Done Kill",localplayer,255,24,21,true) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function localplayer() if source == fly then setWorldSpecialPropertyEnabled (localplayer,"aircars", true ) outputChatBox("You Can Fly know !!",localplayer,253,35,32) end end ) addEventHandler("onClientGUIClick",root,function() if source == take then if isPedInVehicle ( localPlayer ) then destroyElement ( getPedOccupiedVehicle(localPlayer) ) end end end ) addEventHandler("onClientGUIClick",root,function() if (source == give) then triggerServerEvent ( "GiveVehicle",localPlayer) end end) --server addEvent("GiveVehicle",true) addEventHandler("GiveVehicle",root,function() local x,y,z = getElementPosition(localPlayer) local vehicle = createVehicle(ID,x,y,z) warpPedIntoVehicle(localPlayer,vehicle) end)
-
FScreenie | اف سكريني، صور شاشتك وارفعها بشكل مباشر
Ja[B]er[X]Pro replied to #Wizard's topic in القسم العام
عمل رائع وجميل جداً واصل يا مبدع بالتوفيق ، -
FScreenie | اف سكريني، صور شاشتك وارفعها بشكل مباشر
Ja[B]er[X]Pro replied to #Wizard's topic in القسم العام
عمل رائع وجميل جداً واصل يا مبدع بالتوفيق ، -
انا اسف ما انتبهت لردك +++ الكل يساعد هنا حد يساعد بموضوعي هههههه https://forum.multitheftauto.com/viewtopic.php?f ... 9&start=15
-
انا اسف ما انتبهت لردك +++ الكل يساعد هنا حد يساعد بموضوعي هههههه https://forum.multitheftauto.com/viewtopic.php?f ... 9&start=15
-
bindKey("o", "down", guiSetVisible(wnd,not guiGetVisible(wnd)) showCursor(guiGetVisible(wnd)) end)
-
bindKey("o", "down", guiSetVisible(wnd,not guiGetVisible(wnd)) showCursor(guiGetVisible(wnd)) end)
-
ميزو شوف اظهار كلام بالشات هو مشكلته السترنج اين واكواد الالوان
-
ميزو شوف اظهار كلام بالشات هو مشكلته السترنج اين واكواد الالوان
-
قم بتبديل كود الزر الذي يعطيك دم 0 بالكود دا addEventHandler("onClientGUIClick",root, function() if ( source == btn ) then setElementHealth(localPlayer,0) outputChatBox("تم الانتحار",localPlayer,255,2,2) end end )
-
قم بتبديل كود الزر الذي يعطيك دم 0 بالكود دا addEventHandler("onClientGUIClick",root, function() if ( source == btn ) then setElementHealth(localPlayer,0) outputChatBox("تم الانتحار",localPlayer,255,2,2) end end )
-
بلاير غير معرفة localPlayer = الاعب الذي قام بالحدث فقط ب client source = المصدر = مصدر الحدث فقط ب server
-
بلاير غير معرفة localPlayer = الاعب الذي قام بالحدث فقط ب client source = المصدر = مصدر الحدث فقط ب server
-
العفو
