Jump to content

طلب بسيط ارجووكم


Recommended Posts

السلام عليكم و رحمة الله و بركاته شباب ابي اي سكربت او طريقة اخلي سكربتاتي ما تنسرق لاني سويت سكربت تعبان عليه 4 ايام

ابي اي طريقة اخلي ملف الكلنت لما تفتحه ماتجي الاكواد شفته بسيرفرين من قبل

ارجوكم ابيه

عشان اللي يزرفون المودات و يسون ميتا

Link to comment
local screenWidth, screenHeight = guiGetScreenSize ( ) 
function createText ( ) 
    local playerX, playerY, playerZ = getElementPosition ( localPlayer ) 
    local playerZoneName = getZoneName ( playerX, playerY, playerZ  
      dxDrawText ( playerZoneName, 44, screenHeight - 41, screenWidth, screenHeight, tocolor ( 0, 0, 0, 255 ), 1.02, "pricedown" ) 
      dxDrawText ( playerZoneName, 44, screenHeight - 43, screenWidth, screenHeight, tocolor ( 255, 255, 255, 255 ), 1, "pricedown" )  
end 
function HandleTheRendering ( ) 
  addEventHandler ( "onClientRender", root, createText ) 
end 
  
addEventHandler ( "onClientResourceStart", resourceRoot, HandleTheRendering )      
  
speed = getDistanceBetweenPoints3D ( 0, 0, 0, getElementVelocity ( vehicle ) ) 
  
addEventHandler ( "onClientRender", root, 
function ( ) 
    if ( getDistanceBetweenPoints3D ( 0, 0, 3, getElementPosition ( localPlayer ) ) ) < 50 then 
        local coords = { getScreenFromWorldPosition ( 0, 0, 3 ) } 
        if coords[1] and coords[2] then 
            dxDrawText ( "Console", coords[1], coords[2], coords[1], coords[2], tocolor(255,255,255), 1, "default-bold" ) 
        end 
    end 
end ) 
  

ركبت هذول المودات ... كيف اخليه يكتب فوق راس الكونسول Console

  • Like 1
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...