Jump to content

مساعدة


Guest

Recommended Posts

function showRadar(thePlayer, command)
    showPlayerHudComponent ( thePlayer, "radar", false )
end
addCommandHandler("hide", showRadar)
bindKey("F2", "down", showRadar)

وين الخطأ؟

Edited by Guest
Link to comment

كلينت

و غيرته كذا 

function showRadar(thePlayer, command)
    showPlayerHudComponent ("radar", false )
end
addCommandHandler("hideradar", showRadar)
bindKey("F2", "down", showRadar)

 

Link to comment
5 minutes ago, Scarfas said:

showPlayerHudComponent

+ لا تستخدم الكود دا زي ما قال الويكي

This function is deprecated. This means that its use is discouraged and that it might not exist in future versions.

Please use setPlayerHudComponentVisible instead.

 

Link to comment
1 minute ago, Scarfas said:

Clientside:


function showRadar( )
    setPlayerHudComponentVisible ( "radar", false )
end
addCommandHandler("hide", showRadar)
bindKey("F2", "down", showRadar)

Meta:


<meta>
	<info author="exscar" description="blabla" version="1" type="script" />
	<script src="client.lua" type="client" />
</meta>

 

اول شئ تاكد ان الرادار ظاهر عشان يخفيه +_+

 

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