Jump to content

LiOneLMeSsIShoT

Members
  • Posts

    609
  • Joined

  • Last visited

Details

  • Gang
    mkes them scared

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

LiOneLMeSsIShoT's Achievements

Pimp

Pimp (29/54)

0

Reputation

  1. I would like to know..Events....codes to script a button to give me a weapon and it gets money...like shop..
  2. CAn you just tell me how ?...what do you mean of using maths to fit it?...should i change my resolution to every resolution that's not my resolution... and....make button again...or..?
  3. yeah...which x, y? of what...hmmm...
  4. How is that?.... Re-create the image. Right click Click on Set Position Code Click on Presets Select 1 Click Ok the problem not with the image :3...the problem with guis..anyway i want a scriptwise to fix that... not remake that ?
  5. How is that?....No...c'mmon...no scriptwise? no need to create it again..."Bored..lazy...have no time"
  6. Works fine, but the problem is with other buttons and things...it's really small buttons, and such things... GUIEditor.staticimage[1] = guiCreateStaticImage(0, 0, x, y, ":Registration_System/Images/loginpanel.png", false) checkbox_save = guiCreateCheckBox(149, 349, 15, 15, "", true, false, GUIEditor.staticimage[1]) UsernameLogin = guiCreateEdit(168, 233, 213, 25, "", false, GUIEditor.staticimage[1]) PasswordLogin = guiCreateEdit(168, 302, 213, 25, "", false, GUIEditor.staticimage[1]) guiEditSetMasked(PasswordLogin, true) Login = guiCreateButton(88, 497, 351, 78, "Login", false, GUIEditor.staticimage[1]) guiSetAlpha(Login, 0.50) guiSetFont(Login, "sa-header") guiSetProperty(Login, "NormalTextColour", "FF7F7F7F") btns = guiCreateButton(88, 605, 351, 78, "Register", false, GUIEditor.staticimage[1]) guiSetAlpha(btns, 0.50) guiSetFont(btns, "sa-header") guiSetProperty(btns, "NormalTextColour", "FF7F7F7F") GUIEditor.staticimage[2] = guiCreateStaticImage(78, -32, 1360, 768, ":Registration_System/Images/Registerpanel.png", false, GUIEditor.staticimage[1]) guiSetVisible(GUIEditor.staticimage[2], false) UsernameRegister = guiCreateEdit(559, 262, 215, 24, "", false, GUIEditor.staticimage[2]) PasswordRegister = guiCreateEdit(559, 338, 215, 24, "", false, GUIEditor.staticimage[2]) guiEditSetMasked(PasswordRegister, true) ConfirmPasswordE = guiCreateEdit(559, 414, 215, 24, "", false, GUIEditor.staticimage[2]) guiEditSetMasked(ConfirmPasswordE, true) Register = guiCreateButton(440, 543, 446, 60, "", false, GUIEditor.staticimage[2]) guiSetAlpha(Register, 0.50) so is it possible to edit that buttons?
  7. Works fine, but the problem is with other buttons and things...it's really small buttons, and such things... GUIEditor.staticimage[1] = guiCreateStaticImage(0, 0, x, y, ":Registration_System/Images/loginpanel.png", false) checkbox_save = guiCreateCheckBox(149, 349, 15, 15, "", true, false, GUIEditor.staticimage[1]) UsernameLogin = guiCreateEdit(168, 233, 213, 25, "", false, GUIEditor.staticimage[1]) PasswordLogin = guiCreateEdit(168, 302, 213, 25, "", false, GUIEditor.staticimage[1]) guiEditSetMasked(PasswordLogin, true) Login = guiCreateButton(88, 497, 351, 78, "Login", false, GUIEditor.staticimage[1]) guiSetAlpha(Login, 0.50) guiSetFont(Login, "sa-header") guiSetProperty(Login, "NormalTextColour", "FF7F7F7F") btns = guiCreateButton(88, 605, 351, 78, "Register", false, GUIEditor.staticimage[1]) guiSetAlpha(btns, 0.50) guiSetFont(btns, "sa-header") guiSetProperty(btns, "NormalTextColour", "FF7F7F7F") GUIEditor.staticimage[2] = guiCreateStaticImage(78, -32, 1360, 768, ":Registration_System/Images/Registerpanel.png", false, GUIEditor.staticimage[1]) guiSetVisible(GUIEditor.staticimage[2], false) UsernameRegister = guiCreateEdit(559, 262, 215, 24, "", false, GUIEditor.staticimage[2]) PasswordRegister = guiCreateEdit(559, 338, 215, 24, "", false, GUIEditor.staticimage[2]) guiEditSetMasked(PasswordRegister, true) ConfirmPasswordE = guiCreateEdit(559, 414, 215, 24, "", false, GUIEditor.staticimage[2]) guiEditSetMasked(ConfirmPasswordE, true) Register = guiCreateButton(440, 543, 446, 60, "", false, GUIEditor.staticimage[2]) guiSetAlpha(Register, 0.50)
  8. I've added a picture in login screen as it's the window...without making a window...just a picture....the problem here it's not working for other resolutions..only my resolution works fine. it come...left, right... or even on the top with other resolutions...so could you tell me how to solve this problem? GUIEditor.staticimage[1] = guiCreateStaticImage(0, 0, 1360, 768, ":Registration_System/Images/loginpanel.png", false)
  9. guiGetText? hmmm..what will i use it for ? also ...how to change the color of the button, setalpha gonna make it more ...darker...but not with a exculative color, isn't it? guiCreateEdit? should i make a edit box and hide it? behind the image of .... ... ... login edit box?
  10. guiGetText? hmmm..what will i use it for ? also ...how to change the color of the button, setalpha gonna make it more ...darker...but not with a exculative color, isn't it?
  11. Could you give me the event, codes that i'm going to use? and give me an simple example "not a lua language professional"
  12. Hello, Designed a photoshop login panel, but the problem here how can i define the inputs of username and password with lua scripting? should i just make a hidden edit boxes and buttons under it? or how can i do that good? also i would like to know how to make shadows in button with exculative color, like this,"onClientMouseEnter" when the mouse enter it...it gives another color, like...set alpha to 1 but with an other color? i hope you understand what i mean... also how to get the Check Boxes and such things like that... At the End! i would like to tell you that i want to know how to make effects like in this video! How to make the color on buttons effects, how to define the edit boxes of username, password....ETC Own Project
  13. ممكن تشرح لى الاخطاء انا بس عاوز اتعلم منها غير كدة الشيخصية ما بتتحرك اما تكون المسافة اكبر من 5 ... ليه؟ حتى ما بيبص لي..يعنى يعتبر setPedLookAt مو شغالة صراحة ما يأست هههههههه حبيت اجرب... بس الصراحة طلع لى اخطاء متكررة ..... هناااا اكثرها Argument 1 got nil function ped(cmd, id) local id = tonumber(id) if (id) then x, y, z = getElementPosition(localPlayer) y = y+7 guard = createPed(id, x, y, z) else outputChatBox("syntax:/guard Skin ID") end end addCommandHandler("guard", ped) function moveaPed() local xg, yg = getElementPosition(guard) setPedLookAt(guard, x, y, z) local dis = getDistanceBetweenPoints2D(x, y, xg, yg) if (dis > 5) then setPedControlState(guard, "forwards", true) else setPedControlState(guard, "forwards", false) end end addEventHandler ("onClientRender", getRootElement(), moveaPed) عدلتها وحطيت setElementData يمكن يكون بيجيب nil! لانة guard مش موجودة لكن بردة نفس الاخطاء function ped(cmd, id) local id = tonumber(id) if (id) then x, y, z = getElementPosition(localPlayer) y = y+7 guard = createPed(id, x, y, z) setElementData (localPlayer, "guards", guard) else outputChatBox("syntax:/guard Skin ID") end end addCommandHandler("guard", ped) function moveaPed() guard = getElementData (localPlayer, "guards", true) local xg, yg = getElementPosition(guard) setPedLookAt(guard, x, y, z) local dis = getDistanceBetweenPoints2D(x, y, xg, yg) if (dis > 5) then setPedControlState(guard, "forwards", true) else setPedControlState(guard, "forwards", false) end end addEventHandler ("onClientRender", getRootElement(), moveaPed)
  14. ممكن تشرح لى الاخطاء انا بس عاوز اتعلم منها غير كدة الشيخصية ما بتتحرك اما تكون المسافة اكبر من 5 ... ليه؟ حتى ما بيبص لي..يعنى يعتبر setPedLookAt مو شغالة صراحة ما يأست هههههههه حبيت اجرب... بس الصراحة طلع لى اخطاء متكررة ..... هناااا اكثرها Argument 1 got nil function ped(cmd, id) local id = tonumber(id) if (id) then x, y, z = getElementPosition(localPlayer) y = y+7 guard = createPed(id, x, y, z) else outputChatBox("syntax:/guard Skin ID") end end addCommandHandler("guard", ped) function moveaPed() local xg, yg = getElementPosition(guard) setPedLookAt(guard, x, y, z) local dis = getDistanceBetweenPoints2D(x, y, xg, yg) if (dis > 5) then setPedControlState(guard, "forwards", true) else setPedControlState(guard, "forwards", false) end end addEventHandler ("onClientRender", getRootElement(), moveaPed)
  15. ممكن تشرح لى الاخطاء انا بس عاوز اتعلم منها غير كدة الشيخصية ما بتتحرك اما تكون المسافة اكبر من 5 ... ليه؟ حتى ما بيبص لي..يعنى يعتبر setPedLookAt مو شغالة
×
×
  • Create New...