Professional Posted November 25, 2017 Posted November 25, 2017 hello i have problem in this code he not working whyyyyyyyyyyyy ????????????????????????????????????????????????????????? local Vehicle = createVehicle ( 470, 2485.3427734375, -1665.353515625, 13.34375 ) function weapon() if ( Vehicle ) then triggerClientEvent(root,'createClientWeapon',source,Vehicle) end end addCommandHandler( "gocar", Vehicle, Weapon) problem in = addCommandHandler ~ Soon - ~ قريبا
Moderators IIYAMA Posted November 26, 2017 Moderators Posted November 26, 2017 A typo And the predefined variable source does not exist with addCommandHandlers. Use the first parameter instead. local Vehicle = createVehicle ( 470, 2485.3427734375, -1665.353515625, 13.34375 ) function weapon(player) if ( Vehicle ) then triggerClientEvent(root, 'createClientWeapon', player, Vehicle) end end addCommandHandler( "gocar", Vehicle, Weapon) Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Moderators IIYAMA Posted November 29, 2017 Moderators Posted November 29, 2017 @Professional You may want to reply. It is not @Professional... 1 Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Professional Posted December 1, 2017 Author Posted December 1, 2017 I do not know did not work 1 ~ Soon - ~ قريبا
Moderators Popular Post IIYAMA Posted December 1, 2017 Moderators Popular Post Posted December 1, 2017 1 hour ago, Professional said: I do not know did not work OK, bye 3 2 Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
xeon17 Posted December 2, 2017 Posted December 2, 2017 @IIYAMA I wanted to ask you this question for a couple of weeks already. You seem like a very intelligent guy. But why are you wasting your time dealing with people like @Professional? The forum and the game itself are full of braindead people, what's the point? (No offence , I truly respect your work) 1 2 1 A unique GangWar gamemode waiting for you!Click here for more information.
Moderators IIYAMA Posted December 3, 2017 Moderators Posted December 3, 2017 @xeon17 It is a kind of addiction, except for the wasting part. I am well aware that I shouldn't. If you had some lessons around ethical, you would know what I am talking about. Because it is a very common addiction and most of the time overlooked. Yet, everybody has this addiction. With other words: the feeling of being needed. 3 Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
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