Jump to content

NeXuS™

Retired Staff
  • Posts

    1,134
  • Joined

  • Last visited

  • Days Won

    37

Everything posted by NeXuS™

  1. Not that hard at all. Refer to my post.
  2. Are you sure that this code works? It looks like you are missing an "if".
  3. Change test(name.." has teleported to Groove Street, (/cj)") to test(thePlayer, name.." has teleported to Groove Street, (/cj)")
  4. Give us the code too.
  5. Try to output the #table_allZombiesAlive var. What does it give you back?
  6. Applying texture to the vehicle. I suppose they split a GIF apart into pngs and created a "progress" of it. Eg. Png files = 1.png, 2.png, 3.png So you create a counter from 1 to 3, and apply that texture to the vehicle.
  7. https://community.multitheftauto.com/index.php?p=resources&s=details&id=15222 https://community.multitheftauto.com/index.php?p=resources&s=details&id=15223 Could be impersonating, or using alt account, but the same script. DONE
  8. NeXuS™

    Issue

    local arenas = { {"Arena1"}, {"Arena2"}, {"Arena3"}, {"Arena4"}, } for i, v in ipairs(arenas) do arenas[i]["Element"] = createElement(...) end Try it like this.
  9. NeXuS™

    Issue

    Then Arena[1] isn't a table, therefore, can't be indexed.
  10. NeXuS™

    Issue

    Check if Arena[1] is a table. outputChatBox(type(Arena[1]))
  11. Good luck on that, if you are stuck somewhere, feel free to post.
  12. You'll have to create the synchronization for it. Using maybe an element-data, which would tell if he needs to load any textures on that car. You'll have to find your way around.
  13. Pretty easy. This is the .fx file. //-- Declare the texture. These are set using dxSetShaderValue( shader, "Tex0", texture ) texture Tex0; technique simple { pass P0 { //-- Set up texture stage 0 Texture[0] = Tex0; //-- Leave the rest of the states to the default settings } } local openedImg = dxCreateTexture("test.png") local shaderFile = dxCreateShader("shader.fx") dxSetShaderValue(shaderFile, "Tex0", openedImg) engineApplyShaderToWorldTexture(shaderFile, "vehiclegrunge256") You can get the texture name using this resource.
  14. Use [ code] tags please. if hours == 5 and minute == 30 then
  15. Use getRealTime. For the sound, you can use playSound, chat is outputChatBox.
  16. I'd rather start using OOP, as math.sin and math.cos are taught in school.
  17. No, not like that. I'm not going to write you every single line. This section is for those who want to get better at scripting. I don't feel like you want to because you don't try it at all.
  18. You have to modify the alpha of it (tocolor(r, g, b, alpha)), depending on the distance, which you can get using getDistanceBetweenPoints3D.
  19. NeXuS™

    Server problem

    You don't have to that. You have an error in your server's acl.xml, you'll have to fix that. If you can't, just the download this acl.xml and put it into the server's folder.
  20. That isnt what he is trying to achieve. He is trying to do it that the angle drawn means the health.
  21. Still no help for public gamemodes, such as Valhalla.
  22. @MainSCR can you give us a screenshot of how that looks like? I doubt it'll recreate the shown one by the poster.
×
×
  • Create New...