TorNix~|nR Posted March 7, 2018 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? ZI ZOMBIE INFECTION: mtasa://5.196.7.163:22003
Abdul KariM Posted March 7, 2018 Posted March 7, 2018 use getVehicleOccupants -- loop , see arg removePedFromVehicle 1 [ Skype : kreee89 - Discord : Abdul_KariM#1326 / طلبات البرمجة ] https://www.paypal.me/AbdulKariMx / اذا حاب تدعمني
Storm-Hanma Posted March 7, 2018 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 ? Visit https://storm-hosting.xyz/ for free game servers !
Abdul KariM Posted March 7, 2018 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 [ Skype : kreee89 - Discord : Abdul_KariM#1326 / طلبات البرمجة ] https://www.paypal.me/AbdulKariMx / اذا حاب تدعمني
TorNix~|nR Posted March 7, 2018 Author Posted March 7, 2018 Thank you so much @Abdul KariM, jaazak allah ^^ ZI ZOMBIE INFECTION: mtasa://5.196.7.163:22003
Abdul KariM Posted March 7, 2018 Posted March 7, 2018 Just now, TorNix~|nR said: Thank you so much @Abdul KariM, jaazak allah ^^ you're welcome , you too 1 [ Skype : kreee89 - Discord : Abdul_KariM#1326 / طلبات البرمجة ] https://www.paypal.me/AbdulKariMx / اذا حاب تدعمني
Storm-Hanma Posted March 7, 2018 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 Visit https://storm-hosting.xyz/ for free game servers !
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