The moVer Posted April 7, 2015 Posted April 7, 2015 GUIEditor = { button = {}, label = {}, checkbox = {}, edit = {} } addEventHandler("onClientResourceStart", resourceRoot, function() win = guiCreateWindow(162, 62, 474, 440, "-:توزيع فلوس:-", false) guiWindowSetSizable(win, false) guiSetAlpha(win, 0.98) guiSetVisible (win, false) GUIEditor.button[1] = guiCreateButton(289, 320, 134, 76, "توزيع", false, win) GUIEditor.edit[1] = guiCreateEdit(71, 61, 287, 54, "", false, win) GUIEditor.label[1] = guiCreateLabel(379, 71, 62, 33, "المبلغ:", false, win) GUIEditor.button[3] = guiCreateButton(10, 26, 24, 25, "X", false, win) GUIEditor.edit[2] = guiCreateEdit(75, 169, 283, 55, "", false, win) GUIEditor.checkbox[2] = guiCreateCheckBox(331, 245, 17, 15, "", false, false, win) GUIEditor.label[3] = guiCreateLabel(378, 183, 135, 78, "السبب:", false, win) GUIEditor.label[4] = guiCreateLabel(378, 239, 147, 71, "اظهار السبب:", false, win) GUIEditor.label[5] = guiCreateLabel(20, 365, 143, 75, "By:#1Ta[R]ek__)", false, win) guiSetFont(GUIEditor.label[5], "default-bold-small") end ) bindKey("F2", "down", function() triggerServerEvent("aa", localPlayer) end) addEvent("openWnd", true) addEventHandler("openWnd", root, function() guiSetVisible(win, true) showCursor(true) end) addEventHandler ("onClientGUIClick", resourceRoot, function () if (source == GUIEditor.button[3]) then guiSetVisible(win, false) showCursor(false) end end) addEventHandler ("onClientGUIClick", resourceRoot, function ( Player ) if(guiCheckBoxGetSelected(GUIEditor.checkbox[2]))then if (source == GUIEditor.button[1]) then givePlayerMoney ( Player, guiGetText ( GUIEditor.edit[1] ) ) outputChatBox("you have ben given a money from" guiGetText ( GUIEditor.edit[1] ) "because ".. guiGetText ( GUIEditor.edit[2] ) ) end else givePlayerMoney ( Player, guiGetText ( GUIEditor.edit[1] ) ) end end) BACK! هؤلاء الواقفون على قمة الجبل لم يهبطوا من السماء هناك
i S6O Posted April 7, 2015 Posted April 7, 2015 , عطنا مشكتلك قبل , وإذا تبينا نجرب المود مإعندك مشكلة ذذ
The moVer Posted April 7, 2015 Author Posted April 7, 2015 ما تفت ح اللوحة مدري ليه مع انو كانت تفتح بس حطيت الفنكشن الاخير خرب BACK! هؤلاء الواقفون على قمة الجبل لم يهبطوا من السماء هناك
</Mr.Tn6eL> Posted April 7, 2015 Posted April 7, 2015 عندك اخطاء باخر الكود هذا outputChatBox("you have ben given a money from" guiGetText ( GUIEditor.edit[1] ) "because ".. guiGetText ( GUIEditor.edit[2] ) ) يتحول الى هذا outputChatBox("you have ben given a money from".. guiGetText ( GUIEditor.edit[1] ) .."because ".. guiGetText ( GUIEditor.edit[2] ) ) وبالنسبة الى هذا addEventHandler ("onClientGUIClick", resourceRoot, function ( Player ) القيمة player مو لاعب والويكي كتب كذا string button, string state, int absoluteX, int absoluteY وبالنسبة لهذا ايضا givePlayerMoney ( Player, guiGetText ( GUIEditor.edit[1] ) ) توزيع بالككلنت وهمي + في الكلنت مافي ارقمنت الاعب skype : 011101000110111000110110011001010110110000110000001110010011000000111001
The moVer Posted April 8, 2015 Author Posted April 8, 2015 انا ابي يوزع لكل الاعبين BACK! هؤلاء الواقفون على قمة الجبل لم يهبطوا من السماء هناك
nxFairlywell Posted April 8, 2015 Posted April 8, 2015 انا ابي يوزع لكل الاعبين سوي ترايقر لسيرفر وسوي لوب وجيب كل اللاعبين و عطهم الفلوس ! Discord ID : nxFairlywell#6895
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