orcun99 Posted July 2, 2014 Share Posted July 2, 2014 1.vehicle1 = createVehicle(487, 2798, 2548.900390625, 22.700000762939, 0, 0, 43.994750976563) -- This car can be 2.toggleVehicleRespawn ( vehicle1 , true ) 3.setVehicleRespawnDelay ( vehicle1 , 10000) 4.setVehicleIdleRespawnDelay ( vehicle1 , 60000) -- 5.vehicle = createVehicle ( modelID, x, y, z, rotX, rotY, rotZ ) 6.state = setVehicleDoorState ( vehicle, 1, 1 ) 7.setVehicleDamageProof ( vehicle, true ) -----car won't take damage (change it to false if you want to take damage) 8. 9.function lockPrivate( player, seat, jacked ) 10. if ( source == vehicle1 ) then 11. if ( seat ~= 0 ) then -- If the seat isn't '0' ( driver's seat ) 12. return -- Stop the function from executing. 13. end 14. 15. local playerTeam = getPlayerTeam ( player ) 16. local oldTeamName = ( playerTeam and getTeamName ( playerTeam ) or "" ) 17. if ( oldTeamName ~= "Admins" ) then 18. cancelEvent ( ) 19.exports.ORCcommands:sendMessage("Buna Binmen İçin Admin Olman Gerek.", GetLocalPlayer, 255, 190, 0, source) 20. else 21.exports.ORCcommands:sendMessage("Tekrar Hoşgeldin Admin Bey.", GetLocalPlayer, 255, 190, 0, source) 22. end 23. end 24.end 25.addEventHandler ( "onVehicleStartEnter", getRootElement(), lockPrivate ) I want it to be in the form of guar but I can not gui you make me this code gui accounted Can you give me? gui version of this code I want to make gui: x, y, z team messege my english bad sory Link to comment
Mr.unpredictable. Posted July 2, 2014 Share Posted July 2, 2014 it' s not that hard to create gui with the resource created by r3mp https://forum.multitheftauto.com/viewtopic.php?f=91&t=22831 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