#Sn[i]pêŘ Posted July 1, 2018 Share Posted July 1, 2018 (edited) addEventHandler("onPlayerLogout" Function () if playervehicle then BlowVehicle (source) end بدي لما يخرج الاعب من السيرفر سيارته تنفجر او تنحذف عشان ما تكثرلي السيارات بلبداية و كودي مخرب تماما .. حد يصلحه Edited July 1, 2018 by Mr_SnipeR<3 Link to comment
Trefeor Posted July 1, 2018 Share Posted July 1, 2018 addEventHandler ( "onPlayerQuit" , root , function ( ) if ( getPedOccupiedVehicle ( source ) and getVehicleController(getPedOccupiedVehicle(source)) == source ) then destroyElement ( getPedOccupiedVehicle ( source ) ) end end ) 1 Link to comment
#Sn[i]pêŘ Posted July 1, 2018 Author Share Posted July 1, 2018 (edited) 7 minutes ago, Trefeor said: addEventHandler ( "onPlayerQuit" , root , function ( ) if ( getPedOccupiedVehicle ( source ) and getVehicleController(getPedOccupiedVehicle(source)) == source ) then destroyElement ( getPedOccupiedVehicle ( source ) ) end end ) ! Edited July 1, 2018 by Mr_SnipeR<3 Link to comment
Trefeor Posted July 1, 2018 Share Posted July 1, 2018 وش الي مو فاهمه شوف المثال بالويكي 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