Jump to content

Zalmon

Members
  • Posts

    68
  • Joined

  • Last visited

Everything posted by Zalmon

  1. Everytime you reply to my scripting topics you make me feel stupid P.S thats sort of a compliment towards you :)
  2. How do i make all 3 of these markers go to the specified interior/dimension? I put them in a table, and I don't want them in the same spot. Here is my current script, but the markers wont show up posis = {{362.502,150.813,1025.78},{353.758,193.991,1019.98},{351.345,164.059,1019.98}} function setDimensions() if ( getElementDimension ( posis ) == 0 ) then setElementDimension (posis , 1 ) setElementInterior (posis , 3) end end addEventHandler( "onResourceStart", getResourceRootElement(getThisResource()), setDimensions )
  3. Zalmon

    No Markers?

    Oh wow, easy mistake, I only put dimension, not interior thanks Cow
  4. Zalmon

    No Markers?

    weird, it still didn't work...
  5. Zalmon

    No Markers?

    I thought u don't need that if you have no arguments in your function...
  6. Zalmon

    No Markers?

    ... I still don't see my mistake I think I'm just being retarded right now...
  7. Zalmon

    No Markers?

    I am working on a script that takes you to the bank interior and dimension 1, and a marker that lets you go out of the interior and back to dimension 1, but the outBankMarker is un-findable bankMarker = createMarker ( 1654.1, -1654.76, 22.51, "cylinder", 2, 255, 255, 255, 255 ) outBankMarker = createMarker ( 389.82, 173.71, 1008.38, "cylinder", 2, 255, 255, 255, 255 ) function goIntoBank(hitElement, matchingDimension) if getElementType( hitElement ) == "player" and not getPedOccupiedVehicle( player ) then setPedFrozen( hitElement, true ) setElementDimension ( hitElement, 1 ) setElementInterior ( hitElement, 3, 386.59, 173.84, 1008.38 ) setPedFrozen( hitElement, false ) end end addEventHandler( "onMarkerHit", bankMarker, goIntoBank ) function goOutOfBank(hitElement, matchingDimension) if getElementType( hitElement ) == "player" and not getPedOccupiedVehicle( player ) then setPedFrozen( hitElement, true ) setElementDimension ( hitElement, 0 ) setElementInterior ( hitElement, 0, 1654.496, -1661.855, 22.51 ) setPedFrozen( hitElement, false ) end end addEventHandler( "onMarkerHit", outBankMarker, goOutOfBank ) function setDim() if ( getElementDimension ( outBankMarker ) == 0 ) then setElementDimension (outBankMarker , 1 ) end end addEventHandler( "onResourceStart", setDim )
  8. It's okay, it was a very easy mistake to fix, I didn't realize the error until I posted it.
  9. nvm lol I feel dumb, thats the easiest error to fix ever.
  10. got error while loading says ) expected near do
  11. Would this work? If not, how do I fix it? local players = getElementsByType ( "player" ) for i, player in ipairs( getElementsByType ( players ) ) if (getPlayerTeam(players) == "Criminals") then outputChatBox ( "I wanna say something only to this team", 255, 0, 0,players) I'm trying to get all the players in the team "criminals" and only tell the message to them.
  12. okay, but 6 quick questions. 1) How can I trust virtua not to jack my scripts? 2) How much does virtua cost for 32 slots per month? 3) How long will the trial be? 4) Can you give me some details about the internet connection of the hosting computer? 5) Will the ping and lag be maintained at a low level while using virtua? 6) whats your MSN, or Skype, or XFire, or TeamViewer?
  13. wtf? have to pay per day? thats bull shit..
  14. If you actually read my post, you would see I said "I need a host" which clarifies, that I need a host.
  15. I am almost done with my RPG Server, USSA|RPG, and need a nice host. I have money to pay with. I just need to know the processor, and internet speed of the hoster. to find your internet speed use this http://www.speedtest.net/. Post your processor information. I will also need to know how I can trust you. Please reply ASAP.
×
×
  • Create New...