-
Posts
740 -
Joined
-
Last visited
Details
-
Gang
#[9MoD]
-
Location
Bahrain
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
al-Kobra's Achievements
Homie (32/54)
1
Reputation
-
هذا الا كنت اقصده بس ما عرفت اشرحه
-
'onClientGUIChanged' guiGridListClear for i, v ... do -- loop getElementsByType ^ getPlayerName --تقدر تغير مثل-- GetVehicleIDFromName string.find guiGetText -- للأدت guiGridListAddRow guiGridListSetItemText
-
اساساً انت ما سويت كود الزر وربطته مع الدم
-
جرب ؟ -- Client Side GUIEditor = { button = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() wnd = guiCreateWindow(129, 69, 610, 421, "لوحة الاعب\Player Panel ", false) guiWindowSetSizable(wnd, false) guiSetAlpha(wnd, 1.00) guiSetVisible( wnd, false ) GUIEditor.button[1] = guiCreateButton(10, 39, 189, 80, "انتحار", false, wnd) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFE91414") GUIEditor.button[2] = guiCreateButton(401, 39, 189, 80, "ارسال شكوى", false, wnd) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF20DCB6") GUIEditor.button[3] = guiCreateButton(401, 310, 189, 80, "درع", false, wnd) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFB545B1") GUIEditor.button[4] = guiCreateButton(401, 184, 189, 80, "دم", false, wnd) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFD69625") GUIEditor.button[5] = guiCreateButton(10, 184, 189, 80, "قطع راس الاعب", false, wnd) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FF3DBF3A") GUIEditor.button[6] = guiCreateButton(10, 310, 189, 80, "اخفاء الشات", false, wnd) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FF1948DF") GUIEditor.label[1] = guiCreateLabel(495, 397, 100, 24, "by ja[b]er[X]Pro", false, wnd) end ) bindKey("F5", "down", function () guiSetVisible(wnd,not guiGetVisible(wnd)) showCursor(guiGetVisible(wnd)) end ) addEventHandler ( "onClientGUIClick", root, function ( ) if source == GUIEditor.button[1] then triggerServerEvent("kill", getLocalPlayer()) end end ) addEventHandler ( "onClientGUIClick", root, function ( ) if source == GUIEditor.button[5] then triggerServerEvent( "Pro", getLocalPlayer()) end end ) addEventHandler ( "onClientGUIClick", root, function ( ) if source == GUIEditor.button[3] then triggerServerEvent( "GiveIi", getLocalPlayer()) end end ) addEventHandler ( "onClientGUIClick", root, function ( ) if source == GUIEditor.button[6] then showChat(not isChatVisible()) end end )
-
-- Client Side GUIEditor = { button = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() wnd = guiCreateWindow(129, 69, 610, 421, "لوحة الاعب\Player Panel ", false) guiWindowSetSizable(wnd, false) guiSetAlpha(wnd, 1.00) GUIEditor.button[1] = guiCreateButton(10, 39, 189, 80, "انتحار", false, wnd) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFE91414") GUIEditor.button[2] = guiCreateButton(401, 39, 189, 80, "ارسال شكوى", false, wnd) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF20DCB6") GUIEditor.button[3] = guiCreateButton(401, 310, 189, 80, "درع", false, wnd) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFB545B1") GUIEditor.button[4] = guiCreateButton(401, 184, 189, 80, "دم", false, wnd) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFD69625") GUIEditor.button[5] = guiCreateButton(10, 184, 189, 80, "قطع راس الاعب", false, wnd) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FF3DBF3A") GUIEditor.button[6] = guiCreateButton(10, 310, 189, 80, "اخفاء الشات", false, wnd) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FF1948DF") GUIEditor.label[1] = guiCreateLabel(495, 397, 100, 24, "by ja[b]er[X]Pro", false, wnd) end ) guiSetVisible( wnd, false ) function OpenWin() guiSetVisible(wnd,not guiGetVisible(wnd)) showCursor(guiGetVisible(wnd)) end bindKey("F5", "down", OpenWin) addEventHandler ( "onClientGUIClick", GUIEditor.button[1], function ( ) triggerServerEvent("kill", getLocalPlayer()) end ) addEventHandler("onClientGUIClick", GUIEditor.button[5], function ( ) triggerServerEvent( "Pro", getLocalPlayer()) end ) addEventHandler ( 'onClientGUIClick', GUIEditor.button[3], function ( ) triggerServerEvent( "GiveIi", getLocalPlayer()) end ) addEventHandler ("onClientGUIClick", GUIEditor.button[6], function () showChat(not isChatVisible()) end ) --Server Side ! addEvent("kill", true) addEventHandler("kill", root, function ( ) killPed ( source ) end ) addEvent("Pro",true) addEventHandler("Pro",root, function ( ) if ( isPedHeadless(source) ) then setPedHeadless(source,false) else setPedHeadless(source,true) end end) addEvent ( 'GiveIi', true ) addEventHandler ( 'GiveIi', root, function ( ) setPedArmor ( source, 100 ) end ) جرب
-
انا اعرف اضبط فيديوهات =D
-
اجل وش اسم السيرفر ؟
-
اصلا عادي اذا فضيت بسوي واحد
-
هو يقصد شكل السباون :lol:
-
MGM
-
http://im53.gulfup.com/KP6smh.png ذذ
-
رهـــيـــــب ~
-
جرب , addEventHandler ( "onClientClick", root, function ( button, state, _, _, _, _, _, plr ) if button == "left" and state == "up" and plr then if getElementType( plr ) == "player" then if getPlayerName( plr ) == getPlayerName( localPlayer ) then guiSetVisible ( wnd, not guiGetVisible(wnd) ) showCursor( guiGetVisible(wnd)) else guiSetVisible ( secWnd, guiGetVisible(secWnd) ) showCursor( guiGetVisible(secWnd) ) end else outputChatBox( " ** Please click on the player !" ) end end end )