Jump to content

easy question


toxicsmoke11

Recommended Posts

i just wanna ask one more thing

if i use something like this in that script

  
-- function 
if hitElement == "player" or hitElement == "ped" or hitElement == "vehicle" or hitElement == "object" then 
outputChatBox("you hit an element") 
else outputChatBox("u hit nothing") end 
-- event is same like in first post 
  

that above example does nothing

my script is not exactly like that but it's just example

it always outputs "u hit nothing" whatever i hit with my bullet

do you know how can i fix this?

Link to comment

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