Jump to content

Help me plis!


ProX~

Recommended Posts

[troll]

*his or her

[/troll]

8)

..and that's why only a lady would point that out :mrgreen:

omg man...that script i sent you should work, it works perfectly on my server.

the client:

  
addEventHandler("onClientRender", getRootElement(), 
    function() 
        local screenWidth, screenHeight = guiGetScreenSize() 
        local sx,sy = getScreenFromWorldPosition (pointX,pointY,pointZ) 
        local cameraX,cameraY,cameraZ = getCameraMatrix() 
        if sx then 
            if getDistanceBetweenPoints3D(cameraX,cameraY,cameraZ,3313.59765625, -2451.5554199219, 47.380950927734) <= 10 then 
                dxDrawRectangle ( sx - 100, sy + 14.5, screenWidth/7.5 + 200, screenHeight/30 + 20 ,tocolor ( 0,0,0,255 ) ) 
                dxDrawText("Pro", sx - 100, sy, screenWidth, screenHeight,tocolor ( 255,255,255,255 ), 2 ,"bankgothic") 
            end 
        end 
    end 
)  
  

and the xml

  
<meta> 
    <info gamemodes="race" type="map" version="1.0.0" /> 
    <!-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--> 
    <script src="clientMain.lua" type="client" /> 
    <map src="PROBANDO LETRAS.map" dimension="0" /> 
</meta> 
  
  

if that doesnt work try :

type="script" Works everytime for me :P

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