Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. No veo para que le dan todo hecho, con mi comentario ya era suficiente.
  2. teamName is defined locally there.
  3. Pone la funcion "dx" fuera de la funcion "rdx".
  4. Castillo

    ayuda(facil)

    Estas usando "zombieLevel" en tu "if" y "elseif", pero tu variable es "zombiesLevel".
  5. Don't take this wrong, but why would someone donate for a server that is not even playable?
  6. Castillo

    ayuda(facil)

    Cual es el problema?
  7. I don't understand what is the problem.
  8. To remove the San Andreas original map you must use: removeWorldModel If I'm right, the function has an example which removes it all.
  9. Make sure the function is exported on the meta.xml of "[ROG]Groups".
  10. Si, usa: getElementVelocity setElementVelocity
  11. function AbsoluteToRelative( X, Y ) local rX, rY = guiGetScreenSize() local x = X/rX local y = Y/rY return x, y end -- Example made by laserlaser
  12. Where is he using a model ID on that code you quoted?
  13. Try this then: moveObject ( gateList[index], 3000, x,y,z, rx,ry,rz )
  14. Castillo

    Ped Driver

    setPedControlState
  15. It's actually really simple, on your meta.xml you add this: function="myFunctionName" type="myScriptType(server or client)" /> Then on your script you do: function myFunctionName ( ) end
  16. Castillo

    Return break

    Your break example is wrong, break has to go after your code inside the loop, like this: for i,v in ipairs{1, 2, 3, 4, 5} do -- looping table if v == 2 then -- checking if the value is "2" while looping outputDebugString("Loop broken") -- outputs to debug break -- breaking/stopping loop end end
  17. Well, that script is defining the moveTo position twice, try removing "x, y, z" from moveObject, and leave moveToX, moveToY, moveToZ only.
  18. Your table has to be like this: myTable = { item1, item2, item3, etc... } And yours is like this: myTable = { { item1 }, { item2 }, { item3 }, { etc... } }
  19. You have edited the script?
  20. Castillo

    lagg

    I don't really know what are you talking about, what is "EG user panel"?
  21. https://community.multitheftauto.com/in ... ls&id=6864 Is a wiki example. DONE
  22. He said replace setVehicleHandling with setModelHandling.
×
×
  • Create New...