Jump to content

Help me !!


xXNemesiSXx

Recommended Posts

function killBlow() 
for i,players in pairs(getElementsByType("player")) do killPed(players) end 
for i,vehicles in pairs(getElementsByType("vehicle")) do blowVehicle(vehicles) end 
end 
addCommandHandler("killandblow") 

Should work.

thanks a lot !! :D

but ...look here...

do killPed(players) end 

why you used killPed and not killPlayer or something like that?

Link to comment

Hunter, just because you can make a timer it doesn't means you are an scripter ;)

also this fails.

setTimer ( destroyElement, time_in_milliseconds, times_to_execute_the_function, element_name ) 

example of element name:

myelement = createObject() 

P.S: Why would he use a timer instead of just destroyElement?

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