Jump to content

ارجوا المساعده


Recommended Posts

هلا شباب

مدري وش فيها ذي

onClientRender

وربي طفش

  
function createText ( cmd ) 
if cmd == "G" then 
        dxDrawText ( " !!", 196, 0, 875, 163, tocolor ( 92, 45, 23, 255 ), 1.5, "pricedown" )  
        end  
        end 
 addEventHandler ( "onClientRender", root, createText ) 
addCommandHandler ( "G", createText )  

لما اكتب حرف G

في اف 8 تطلع الكتابه بسرعه وتروح

جربت اسوي تايمر مب نافع :redhotevil::redhotevil:

Link to comment
check = false; 
  
function createText (  ) 
    if check then 
        dxDrawText ( getPlayerName ( localPlayer ) .. "has Taken ", 196, 0, 875, 163, tocolor ( 255, 255, 255 ), 1.5, "pricedown" ); 
    end 
end 
addEventHandler ( "onClientRender", root, createText ); 
  
function markerHitorLeave ( player ) 
    if player == localPlayer then 
        if eventName == "onClientMarkerHit" then 
            check = true; 
        else  
            check = false; 
        end 
    end 
end 
addEventHandler ( "onClientMarkerHit", marker, markerHitorLeave ); 
addEventHandler ( "onClientMarkerLeave", marker, markerHitorLeave ); 

Link to comment

شباب اخر طلب **

عندي ذا في الكلنت

function MarkerHit ( hitPlayer, matchingDimension ) 
    removeEventHandler("onClientRender", root, createText) 
end 
addEventHandler ( "onClientMarkerHit", myMarker1, MarkerHit ) 

ابي يتوصل تريقر مع ذا اللي في السيرفر

  myMarker1 = createMarker(2488.80908, -1671.65955, 12.6, 'corona', 2.5, 255, 0, 0, 150) 
function MarkerHit( hitPlayer, matchingDimension )  
        outputChatBox("#000000#" .. getPlayerName(hitPlayer) .. ":#D2691E : Has Taken  ",root,183,92,38,true)    
end 

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