TorNix~|nR Posted March 7, 2018 Share Posted March 7, 2018 Hey guys, I used this on my script removePedFromVehicle it only removes the player who is driving, I want to remove all players inside the vehicle, any help please? Link to comment
Abdul KariM Posted March 7, 2018 Share Posted March 7, 2018 use getVehicleOccupants -- loop , see arg removePedFromVehicle 1 Link to comment
Storm-Hanma Posted March 7, 2018 Share Posted March 7, 2018 38 minutes ago, Abdul KariM said: use getVehicleOccupants -- loop , see arg removePedFromVehicle Bro then what about if the player enter interiors like warehouse ,stadium etc.. How can I destroy players spawn vehicles +weapons ? Link to comment
Abdul KariM Posted March 7, 2018 Share Posted March 7, 2018 1 minute ago, Khadeer143 said: Bro then what about if the player enter interiors like warehouse ,stadium etc.. How can I destroy players spawn vehicles +weapons ? use getElementsByType getElementInterior getPedOccupiedVehicle -- if player have a car destroyElement -- to destroy the car toggleControl -- for weapnos killPed -- if you want 1 Link to comment
TorNix~|nR Posted March 7, 2018 Author Share Posted March 7, 2018 Thank you so much @Abdul KariM, jaazak allah ^^ Link to comment
Abdul KariM Posted March 7, 2018 Share Posted March 7, 2018 Just now, TorNix~|nR said: Thank you so much @Abdul KariM, jaazak allah ^^ you're welcome , you too 1 Link to comment
Storm-Hanma Posted March 7, 2018 Share Posted March 7, 2018 (edited) I don'twant to block all weapons except weapon -8 all weapons must be block in interior 15 how? Edited March 7, 2018 by Khadeer143 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