Sylence Posted April 3, 2016 Posted April 3, 2016 سلام عليكم انا عامل لوحة شرطي وعامل بيتون فيها اسمه Destroy car عاوز الشرطي لما فتح اللوحه ويدوس علي ديستوري كار تتسحب السياره
Mhmd.z Posted April 3, 2016 Posted April 3, 2016 لازم يكون راكب السياره: "onClientGUIClick" getPedOccupiedVehicle destroyElement
Me[Z]oO Posted April 3, 2016 Posted April 3, 2016 addEventHandler("onClientGUIClick",root,function() if source == GUIEditor.button[1] then if isPedInVehicle ( localPlayer ) then destroyElement ( getPedOccupiedVehicle(localPlayer) ) end end end )
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