Jump to content

طلب ء


Recommended Posts

سلام عليكم عندي مشكله

ابي ذه اللكود

function closeLogin ( )
	removeEventHandler ( "onClientPreRender", root, dxDrawLoginPanel )
	removeEventHandler ( 'onClientCursorMove', root, cursorMove )
	removeEventHandler ( "onClientClick", root, clientClicking )
--    removeEventHandler ( "onClientPreRender", root, GetPedSkin )
	guiSetVisible ( password, false )
	guiSetVisible ( username, false )
	showCursor ( false )
	removeEventHandler ( 'onClientGUIClick', root, clientClosingErrorWindowEvent )
	guiSetVisible ( window, false )
	isOpen = false
	isLoggedin = true
	showChat(true)
	showPlayerHudComponent ( 'all', true )
end
addEvent ( "onClientPlayerLogin", true )
addEventHandler ( "onClientPlayerLogin", root, closeLogin )


addEvent("onLoginSuccess", true)
addEventHandler("onLoginSuccess", root,
function()
	local radioURL = "sfx/intro.mp3"
	SelectSong = playSound(radioURL, true)
	showCursor(false)
	smoothMoveCamera(-2564.8342285156, 748.92218017578, 98.373344421387, -2560.1408691406, 848.46099853516, 90.007133483887 , -2556.1491699219, 971.96563720703, 79.286323547363, -2557.1953125, 1071.8724365234, 75.099548339844,1800)
	skinCount = 0
	sPed = createPed(105, -2819.83545, 1177.29004, 20.27344)
	local pDim = getElementDimension ( localPlayer ) 
	local pInt = getElementInterior ( localPlayer ) 
	setElementDimension ( sPed, 0 ) 
	setElementInterior ( sPed, 0 ) 
	setElementDimension ( localPlayer, 0 ) 
	setElementInterior ( localPlayer, 0 ) 
	sRight()
	bindKey("arrow_l", "down", sLeft)
	bindKey("arrow_r", "down", sRight)
	bindKey("arrow_u", "down", sUp)
	bindKey("arrow_d", "down", sDown)
	bindKey("enter", "down", EnterSpawn)
	addEventHandler("onClientPreRender", root, drawTeamName)
	addEventHandler("onClientPreRender", root, loginRender)
	removeEventHandler ( "onClientPreRender", root, onClientPlayerLogin )
	setElementData(localPlayer,"NoComm",false)
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...