mohssan123 Posted April 22, 2013 Share Posted April 22, 2013 السلام عليكم شباب بغيت تصحيح لكودي الهو زر ينقلك لسيارة كلنت addEventHandler( "onClientGUIClick", start, function ( ) guiSetVisible(gui,false) showCursor (false ) guiSetInputEnabled(false) triggerServerEvent ( "m", localPlayer ) end ) سيرفر addEvent("m",true) addEventHandler("m",root, function( player ) car = createVehicle ( 437, 1716.0732421875,-1341.9677734375,13.3828125 ) warpPedIntoVehicle ( player, car) end ) Link to comment
iPrestege Posted April 22, 2013 Share Posted April 22, 2013 -- Client Side -- addEventHandler( "onClientGUIClick", start, function ( ) guiSetVisible(gui,false) showCursor (false ) guiSetInputEnabled(false) triggerServerEvent ( "m", localPlayer ) end,false ) -- Server Side -- addEvent("m",true) addEventHandler("m",root, function ( ) car = createVehicle ( 437, 1716.0732421875,-1341.9677734375,13.3828125 ) if ( car ) then warpPedIntoVehicle ( source,car) end end ) Link to comment
mohssan123 Posted April 22, 2013 Author Share Posted April 22, 2013 -- Client Side -- addEventHandler( "onClientGUIClick", start, function ( ) guiSetVisible(gui,false) showCursor (false ) guiSetInputEnabled(false) triggerServerEvent ( "m", localPlayer ) end,false ) -- Server Side -- addEvent("m",true) addEventHandler("m",root, function ( ) car = createVehicle ( 437, 1716.0732421875,-1341.9677734375,13.3828125 ) if ( car ) then warpPedIntoVehicle ( source,car) end end ) تسلم Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now