Jump to content

استفسار


L3yr

Recommended Posts

Posted

السلام عليكم شباب انا عامل لوحه   فى 4 شخصيات عشان الى يروح للشهصيات دى يادخل تيم الحرامى

دلوقتى اللوحه مش بتفتح غير فى شخصيه واحده

وانا عاوز تفتح فى الاربع شخصيات الى فى كل مدينه

ارجو تكونو فهمتو قصدى

Posted
On ١١‏/٢‏/٢٠١٧ at 18:44, #BrosS said:

ارني محاولتك

هذه اخى 

GUIEditor = {
    memo = {},
    button = {},
    window = {},
    checkbox = {},
    label = {},
}
GUIEditor.window[1] = guiCreateWindow(506, 329, 325, 469, "CUA", false)
guiWindowSetSizable(GUIEditor.window[1], false)
guiSetAlpha(GUIEditor.window[1], 0.89)
guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFF0000")

GUIEditor.memo[1] = guiCreateMemo(85, 50, 169, 32, "", false, GUIEditor.window[1])
GUIEditor.memo[2] = guiCreateMemo(85, 126, 169, 32, "", false, GUIEditor.window[1])
GUIEditor.button[1] = guiCreateButton(135, 92, 66, 30, "OK", false, GUIEditor.window[1])
guiSetFont(GUIEditor.button[1], "default-bold-small")
guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFFFFFF")
GUIEditor.button[2] = guiCreateButton(273, 24, 43, 26, "Close", false, GUIEditor.window[1])
guiSetFont(GUIEditor.button[2], "default-bold-small")
guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFF0000")
GUIEditor.checkbox[1] = guiCreateCheckBox(285, 171, 15, 15, "", false, false, GUIEditor.window[1])
GUIEditor.checkbox[2] = guiCreateCheckBox(285, 206, 15, 15, "", false, false, GUIEditor.window[1])
GUIEditor.label[1] = guiCreateLabel(213, 176, 62, 15, "Deposit", false, GUIEditor.window[1])
guiSetFont(GUIEditor.label[1], "default-bold-small")
GUIEditor.label[2] = guiCreateLabel(213, 206, 62, 15, "Withdrawal", false, GUIEditor.window[1])
guiSetFont(GUIEditor.label[2], "default-bold-small")
GUIEditor.button[3] = guiCreateButton(235, 324, 60, 57, "Hack", false, GUIEditor.window[1])
guiSetFont(GUIEditor.button[3], "default-bold-small")
guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFEB1101")
GUIEditor.button[4] = guiCreateButton(20, 243, 40, 34, "1", false, GUIEditor.window[1])
guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFFFFFFF")
GUIEditor.button[5] = guiCreateButton(20, 301, 40, 34, "4", false, GUIEditor.window[1])
guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFFFFFFF")
GUIEditor.button[6] = guiCreateButton(20, 357, 40, 34, "7", false, GUIEditor.window[1])
guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFFFFFFF")
GUIEditor.button[7] = guiCreateButton(85, 243, 40, 34, "2", false, GUIEditor.window[1])
guiSetProperty(GUIEditor.button[7], "NormalTextColour", "FFFFFFFF")
GUIEditor.button[8] = guiCreateButton(150, 243, 40, 34, "3", false, GUIEditor.window[1])
guiSetProperty(GUIEditor.button[8], "NormalTextColour", "FFFFFFFF")
GUIEditor.button[9] = guiCreateButton(85, 301, 40, 34, "", false, GUIEditor.window[1])
GUIEditor.button[10] = guiCreateButton(85, 301, 40, 34, "5", false, GUIEditor.window[1])
guiSetProperty(GUIEditor.button[10], "NormalTextColour", "FFFFFFFF")
GUIEditor.button[11] = guiCreateButton(85, 357, 40, 34, "8", false, GUIEditor.window[1])
guiSetProperty(GUIEditor.button[11], "NormalTextColour", "FFFFFFFF")
GUIEditor.button[12] = guiCreateButton(150, 301, 40, 34, "6", false, GUIEditor.window[1])
guiSetProperty(GUIEditor.button[12], "NormalTextColour", "FFFFFFFF")
GUIEditor.button[13] = guiCreateButton(150, 357, 40, 34, "9", false, GUIEditor.window[1])
guiSetProperty(GUIEditor.button[13], "NormalTextColour", "FFFFFFFF")
GUIEditor.button[14] = guiCreateButton(80, 414, 51, 38, "0", false, GUIEditor.window[1])
guiSetProperty(GUIEditor.button[14], "NormalTextColour", "FFFFFFFF")

 

   guiSetVisible (GUIEditor.window[1], false)

addEventHandler("onClientMarkerHit",marker, --عند لمس الماركر المحدد
function()--وظيفة
guiSetVisible(GUIEditor.window[1],true)--تفتح اللوحة
showCursor(true) --نظهر الماوس
end --نهاية الوظيفة
)--نهاية قوس الحدث

addEventHandler("onClientGUIClick",root, --عند الضغط على زر
function()--وظيفة
if (source == GUIEditor.button[2]) then--ان كان الزر = زر الاغلاق
guiSetVisible(GUIEditor.button[2],false)--اغلاق اللوحة
showCursor(false)--اخفاء الماوس
end--نهاية التحقق
end--نهاية الوظيفة
)--نهاية قوس الحدث

هذه اللوحه ب الماركر

Posted
On ١١‏/٢‏/٢٠١٧ at 18:48, #BrosS said:

أنت تريد اللوحة تظهر لتيم حرامي فقط ؟

ايوه اخى

On ١١‏/٢‏/٢٠١٧ at 18:53, Eslam Essam said:

ايوه اخى

قصدى لكل الى عوز يخش التيم  فى شخصيات بتبقا فى كل حتا لو هوز تخش عوز كل الشخصيات  تطلع منها لوحه لما واحد يلمسهم عشان يخش

Posted
On ١١‏/٢‏/٢٠١٧ at 18:55, Deativated said:

https://wiki.multitheftauto.com/wiki/IsPlayerInTeam

Ex Wiki :


function duty(player)    if isPlayerInTeam(player, "SAPD") then        setElementModel(player, 280)        setPedArmor(player, 100)        takeAllWeapons(player)        giveWeapon(player, 3, 1, true)        outputChatBox("* Now " .. getPlayerName(player) .. " is on duty!", root, 0, 0, 200)    endendaddCommandHandler("onduty", duty)

شكرا اخى على الرد بس انا عوزو يظهر لكل الناس  اللوحه بتظهر فى شخصيه واحده وانا عوزو يظهر فى الاربع شخصيات الى انا حاطتهم فى المدن :]

Posted
On ١١‏/٢‏/٢٠١٧ at 18:58, #BrosS said:

@Deativated

الله يهديك 

===}}}}}}=======

قم بعمل تحقق للتيم الحرامي

 

 

حاضر اخى

  • Like 1
Posted
On ١١‏/٢‏/٢٠١٧ at 19:09, Abu-Solo said:

يعجبني فيك انك شخص محترم

مو نفس بعض الناس

هذه من كرم حضرتك

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...