Ahmed Ly Posted January 26, 2016 Share Posted January 26, 2016 السلام عليكم اكود هدا ناقص و نبيه لا يركب في سياره الا من عصابة قوست local Vehicle = createVehicle (480,2079.07935,-1812.33899,13.38281) function car(player) if getElementType ( player ) == "player" and getElementData( player ,'NameGroup') == 'GhosT' then ----------- ----------- ---------- --------- else outputChatBox("!!!! ",player,255,0,0) end end isPedInVehicle Link to comment
#|_oskar_|# Posted January 26, 2016 Share Posted January 26, 2016 local Vehicle = createVehicle (480,2079.07935,-1812.33899,13.38281) setVehicleLocked (Vehicle, true ) function car(player) if getElementType ( player ) == "player" and getElementData( player ,'NameGroup') == 'GhosT' then setVehicleLocked (Vehicle, false ) else outputChatBox("!!!! ",player,255,0,0) end end addEventHandler ( "onVehicleStartEnter",root,car) Link to comment
Ahmed Ly Posted January 26, 2016 Author Share Posted January 26, 2016 local Vehicle = createVehicle (480,2079.07935,-1812.33899,13.38281) setVehicleLocked (Vehicle, true ) function car(player) if getElementType ( player ) == "player" and getElementData( player ,'NameGroup') == 'GhosT' then setVehicleLocked (Vehicle, false ) else outputChatBox("!!!! ",player,255,0,0) end end addEventHandler ( "onVehicleStartEnter",root,car) امنووووور والله 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