Jump to content

Timiimit

Members
  • Posts

    142
  • Joined

  • Last visited

Everything posted by Timiimit

  1. thx
  2. but marker hit the fence! is that mta element?
  3. well, no one knows???
  4. It touched fence at begining of la airport.
  5. it's not working!??
  6. i have but how to detect if its any object in marker!!!!!!! post eg. plzz.
  7. but i have attach them and it worked!!! i just want to know how to detect if is any object in marker(not only one specified)!!
  8. no. I attached marker to ped that it follows the ped. now i must detect if anyobject is in marker not only one specified. can i make this with "for" function? if yes how!??
  9. Hi! is it possible to detect object in marker?
  10. i know i have but its not working in admin panel commands aren't working too!
  11. Dont u understand I used run command in admin resource but its not working!!
  12. Timiimit

    wierd error

    Hi! in my server i tried to do /run command and I typed: "/run createVehicle(411, 0, 0, 6)" but nothing happened. anyone know what is wrong?
  13. Timiimit

    help!!

    good idea thx!
  14. Timiimit

    help!!

    Hi! I want to know what is wrong with this: function detecting( theObject, matchingDimention ) if getElementType ( theObject ) == "object" then botHit() -- some function end end its started by event onColShapeHit and botHit is name of some other function. but when my colShape hits the object nothing happens(doesn't go to botHit() i tested that by adding outputConsole )
  15. why is this not working?: local hillArea = getElementsByType( "object" ) -- add hill_Enter as a handler for when a player enters the hill area function hill_Enter ( thePlayer, matchingDimension ) if getElementType ( thePlayer ) == "player" then --if the element that entered was player --let's get the name of the player local nameOfThePlayer = getPlayerName ( thePlayer ) --announce to everyone that the player entered the hill outputChatBox ( nameOfThePlayer.." entered the zone!", getRootElement(), 255, 255, 109 ) end end addEventHandler ( "onColShapeHit", hillArea, hill_Enter )
  16. how to get all objects?
  17. thx! Only script that worked today!! but I want to trigger this event when i touch any object. anyone?
  18. other scripts that are in this recources are working so it must be wrong lua!!?????? (from wiki nothing is wrong gotta be BUG)
  19. <meta> <info author="[GFL]TimiimiT" name="something" version="1.0"/> <script src="test.lua" /> </meta> btw I started the resource! tried onPlayerContact not working: function outputElementType ( prev, current ) if ( current ) then outputChatBox ( "You have hit an "..getElementType ( current ) ) end end addEventHandler ( "onPlayerContact", getRootElement(), outputElementType )
  20. i think that is thesame. anyway it's still not working!!!
  21. I want it to trigger it only once! not again when its not targeting anything. + nothing happens at this: function onPlayerTarget ( targetElem ) if getElementType ( targetElem ) == "object" then output("someone touched an object!") end end addEventHandler ( "onPlayerTarget", getRootElement(), onPlayerTarget ) HELP???!!!:::::-----....._____
  22. Hi! I want to know how "onColShapeHit" works! I read the wiki page but i still don't get it. I tried this: function test( thePlayer ) outputChatBox("it's working!!") end addEventHandler("onColShapeHit", getRootElement(), test) ...But it doesn't work. I want to make script that outputs 'it's working!!' when I touch any object. why noone knows?
  23. Timiimit

    chatbox

    I so not understand the script (i looked at it and tried to find out). Can u please explain or make easied script?
  24. Timiimit

    chatbox

    is it possible to detect what someone sayd?
  25. thx! Edit: still not working... + no errors
×
×
  • Create New...