Jump to content

Question


Recommended Posts

Posted

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?

76561198387870432.png

ZI ZOMBIE INFECTION: mtasa://5.196.7.163:22003

560x95_FFFFFF_FF9900_000000_000000.png

Posted
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

 

  • Thanks 1

[ Skype : kreee89 - Discord : Abdul_KariM#1326 / طلبات البرمجة

https://www.paypal.me/AbdulKariMx / اذا حاب تدعمني

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...