Jump to content

شباب تعديل على مود


Recommended Posts

local Pro = getLocalPlayer ()  

GUIEditor = {
    label = {},
    staticimage = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
    function()
        GUIEditor.staticimage[1] = guiCreateStaticImage(83, 0, 1179, 36, ":TessT/shret.png", false)

          GUIEditor.label[1] = guiCreateLabel(10, 0, 425, 26, "Your_Name : [ "..getPlayerName(Pro).." ] ", false, GUIEditor.staticimage[1])
        local font0_The = guiCreateFont(":TessT/The.ttf", 14)
        guiSetFont(GUIEditor.label[1], font0_The)
        GUIEditor.label[2] = guiCreateLabel(433, 0, 325, 44, "Your_Ping : [ "..getPlayerPing(Pro).." ] ", false, GUIEditor.staticimage[1])
        guiSetFont(GUIEditor.label[2], font0_The)
        GUIEditor.label[3] = guiCreateLabel(610, 0, 217, 48, "Your_Skin : [ "..getPlayerSkin(Pro).." ]", false, GUIEditor.staticimage[1])
        guiSetFont(GUIEditor.label[3], font0_The)
        GUIEditor.label[4] = guiCreateLabel(817, 0, 298, 36, "Your_Money : [ "..getPlayerMoney(Pro).." ] ", false, GUIEditor.staticimage[1])
        guiSetFont(GUIEditor.label[4], font0_The)    
    end
)
bindKey(" ", down, 
function( )
guiSetVisible( GUIEditor.staticimage[1], true )
showCursor( false )
end
)

دا مود شريط فيه معلومات الاعب البنق + الشخصية + الاسم +  المصاريف

ابي مثلا لو تغيرو احداثياتي يتغيرو ايضا في الشريط

مثلا لما اعطيت لنفسي المصاريف 99999 يتغير من 0 الى 99999

انا لازم حتا اعمل رسترت للمود حتا يتغير 

Link to comment
local Pro = getLocalPlayer ()  

GUIEditor = {
    label = {},
    staticimage = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
    function()
        GUIEditor.staticimage[1] = guiCreateStaticImage(83, 0, 1179, 36, ":TessT/shret.png", false)

          GUIEditor.label[1] = guiCreateLabel(10, 0, 425, 26, "Your_Name : [ "..getPlayerName(Pro).." ] ", false, GUIEditor.staticimage[1])
        local font0_The = guiCreateFont(":TessT/The.ttf", 14)
        guiSetFont(GUIEditor.label[1], font0_The)
        GUIEditor.label[2] = guiCreateLabel(433, 0, 325, 44, "Your_Ping : [ "..getPlayerPing(Pro).." ] ", false, GUIEditor.staticimage[1])
        guiSetFont(GUIEditor.label[2], font0_The)
        GUIEditor.label[3] = guiCreateLabel(610, 0, 217, 48, "Your_Skin : [ "..getPlayerSkin(Pro).." ]", false, GUIEditor.staticimage[1])
        guiSetFont(GUIEditor.label[3], font0_The)
        GUIEditor.label[4] = guiCreateLabel(817, 0, 298, 36, "Your_Money : [ "..getPlayerMoney(Pro).." ] ", false, GUIEditor.staticimage[1])
        guiSetFont(GUIEditor.label[4], font0_The)    
    end
)
setTimer(function()
 guiSetText(GUIEditor.label[1],"Your_Name : [ "..getPlayerName(Pro).." ] ")
  guiSetText(GUIEditor.label[2],"Your_Ping : [ "..getPlayerPing(Pro).." ] ")
  guiSetText(GUIEditor.label[3],"Your_Skin : [ "..getPlayerSkin(Pro).." ]")
  guiSetText(GUIEditor.label[4], "Your_Money : [ "..getPlayerMoney(Pro).." ] ")

  end,1000*5,0)
bindKey(" ", down, 
function( )
guiSetVisible( GUIEditor.staticimage[1], true )
showCursor( false )
end
)

كذا كل 5 ثواني بتتحدث المعلومات

Link to comment

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...