Jump to content

asd123

Members
  • Posts

    149
  • Joined

  • Last visited

Everything posted by asd123

  1. Solidsnake there is an error i found on the debugscript here is the picture : http://postimg.org/image/kk0xpuyx1/
  2. Like i said i cant my server will not allow people to join
  3. oh thanks is there anyway i know it will work because it needs 3 or more to test and when i played it with myself there is no evidence that it has worked.
  4. Seriously? you obviously didn't check, because it has several. local timeleft = 60 -- Seconds till robber escapes. local rmodel = 495 -- Robber vehicle ID. local pmodel = 599 -- Police vehicle ID. addEvent ( "onMapStarting", true ) addEventHandler ( "onMapStarting", root, function ( ) -- BLIP REMOVAL LOOP for i,v in ipairs(getElementsByType("player")) do local elements = getAttachedElements(v) for i,v in ipairs(elements) do if (getElementType(v) == "blip") then setElementVisibleTo(v, root, false) -- This temporary makes the blip invisable. end end end -- ASSIGNATION LOOP for i,v in ipairs(getElementsByType("player")) do local theVehicle = getPedOccupiedVehicle (v) if theVehicle then -- If the player is in a vehicle. if getElementModel(theVehicle) == tonumber(rmodel) then -- If it's the robber vehicle. robberblip = createBlipAttachedTo(theVehicle, 23) -- Creates a skull blip attached to the robber. elseif getElementModel(theVehicle) == tonumber(pmodel) then -- If it's the police vehicle. policeblip = createBlipAttachedTo(theVehicle, 30) -- Creates a siren blip attached to all cops. end end end setTimer( function() outputChatBox("Robber wins!", root, 255, 0, 0, true) for i, v in ipairs(getElementsByType("player")) do setElementHealth(v, 0) end end, timeleft*1000, 1 ) end ) addEventHandler("onPlayerWasted", root, function() if getElementModel(getPedOccupiedVehicle(source)) == tonumber(rmodel) then for i, v in ipairs(getElementsByType("player")) do setElementHealth(v, 0) end outputChatBox("Cops win!", root, 255, 0, 0, true) end end ) addEventHandler("onResourceStop", root, function() for i,v in ipairs(getElementsByType("player")) do local elements = getAttachedElements(v) for i,v in ipairs(elements) do if (getElementType(v) == "blip") then setElementVisibleTo(v, root, true) -- This makes the blip visable again. destroyElement(policeBlip) -- This destroys the temporary blip we made. destroyElement(robberBlip) -- This destroys the temporary blip we made. end end end end ) Sorry i am new to these kinds of things How can i fix it?
  5. this is what is written on the meta.
  6. Hey all i am trying to make this script work for my map its meant to be cops and 1 robber (race gamemode) the problem is that the script does not want to start i have no clue why. The map should end after the robber is dead but it does not. I would really like your help here is the script: local timeleft = 60 -- Seconds till robber escapes. local rmodel = 495 -- Robber vehicle ID. local pmodel = 599 -- Police vehicle ID. addEvent("onMapStarting", true) addEventHandler("onMapStarting", root, function() -- BLIP REMOVAL LOOP for i,v in ipairs(getElementsByType("player")) do local elements = getAttachedElements(v) for i,v in ipairs(elements) do if (getElementType(v) == "blip") then setElementVisibleTo(v, root, false) -- This temporary makes the blip invisable. end end end -- ASSIGNATION LOOP for i,v in ipairs(getElementsByType("player")) do local theVehicle = getPedOccupiedVehicle (v) if theVehicle then -- If the player is in a vehicle. if getElementModel(theVehicle) == tonumber(rmodel) then -- If it's the robber vehicle. robberblip = createBlipAttachedTo(theVehicle, 23) -- Creates a skull blip attached to the robber. elseif getElementModel(theVehicle == tonumber(pmodel) then -- If it's the police vehicle. policeblip = createBlipAttachedTo(theVehicle, 30) -- Creates a siren blip attached to all cops. end end end end setTimer( function() outputChatBox("Robber wins!", root, 255, 0, 0, true) for i, v in ipairs(getElementsByType("player")) do setElementHealth(v, 0) end end, timeleft*1000, 1 ) end ) addEventHandler("onPlayerWasted", root, function() if getElementModel(getPedOccupiedVehicle(source)) == tonumber(rmodel) then for i, v in ipairs(getElementsByType("player")) do setElementHealth(v, 0) end outputChatBox("Cops win!", root, 255, 0, 0, true) end end ) addEventHandler("onResourceStop", root, function() or i,v in ipairs(getElementsByType("player")) do local elements = getAttachedElements(v) for i,v in ipairs(elements) do if (getElementType(v) == "blip") then setElementVisibleTo(v, root, true) -- This makes the blip visable again. destroyElement(policeBlip) -- This destroys the temporary blip we made. destroyElement(robberBlip) -- This destroys the temporary blip we made. end end end end end
  7. This is not my video but i want to share it
  8. If i was you i would make a race DM/DD server but thats my choice.
  9. But i thought the world trade center collapsed in 2001?
  10. I hope you can make it in english it would open up more of an audience.
  11. Hey all im testing my quality test and want some feedback thanks Watch in HD
  12. Too bad its not english could have had more players on this
  13. Not surprised, you are the best mapper on mta.
  14. Dont bother with this site all the scripts are stolen the race and userpanel are from xG and the toptimes are stolen from -ftw-
  15. haha funny what server is this ?
  16. asd123

    HELP ME ;(

    FFS is the best !
  17. asd123

    Server

    Sure. Because were slaves.
  18. This is not my map it belongs to -ffs-ClaudiO watch in hd
  19. asd123

    Potato

    Nice map, good job
  20. he is such a joke people like should get a life
  21. Love it going to make a [RUN] map
  22. hey i could help i guess add me on skype maj.alshibly1
×
×
  • Create New...