Jump to content

Detecting Vehicle in Marker


Syntrax#

Recommended Posts

Posted

Hello,

I have been trying to detect a random empty vehicle within a colrectangle while it is being towed by a towtruck.But the problem is i can't get it to detect the empty vehicle that is being towed.I can get the towtruck to get detected since that is simple but the empty vehicle is a huge problem for me.I'm planning to make an Impound script.

Please help me if you want to since i'm out of idea's :cry:

  • 1 month later...
Posted
Just use this to see if the vehicle's inside;
isElementWithinColShape 

Can You Maybe Help me abit with the starting,since i'm struggeling to detect the empty vehicle within the Colshape,I'm really reaching my end of possibilities to detect this vehicle

  • Moderators
Posted

This is how it should be used.

if isElementWithinColShape(vehicle,colshape) then 
    outputChatBox("YES!") 
else 
    outputChatBox("NO!") 
end 

Although empty vehicles have sometimes no syncer.

Posted
This is how it should be used.
if isElementWithinColShape(vehicle,colshape) then 
    outputChatBox("YES!") 
else 
    outputChatBox("NO!") 
end 

Although empty vehicles have sometimes no syncer.

Ok will Give It A Try

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...