Jump to content

Patrick

Moderators
  • Posts

    1,143
  • Joined

  • Last visited

  • Days Won

    42

Everything posted by Patrick

  1. You should use it on server side, and you need to replace root to resourceRoot otherwise pickups are created when any resource started.
  2. I don't know exactly what do you mean, but you can remove shader from model with engineRemoveShaderFromWorldTexture
  3. Wrong language, moved to Spanish section.
  4. Yes, the math is right. You need to multiply X-size with SCREEN_X / 1920 and Y-size with SCREEN_Y / 1080
  5. You need to scale the font size in dxDrawText. guiCreateFont's size is an Integer, so if the scaled value is 20.9, its rounded to 20.
  6. You should try to contact with the author.
  7. Wrong language, moved to Portuguese section.
  8. Database name need to be roleplay
  9. Tables are not exists in the database.
  10. Wrong language, moved to Portuguese scripting.
  11. I don't understand exactly what you want, but: local KEYS = {} local string = generateString(12) KEYS[string] = true -- save string to table if KEYS[string] then -- check, is string in the table print("Key exists in table!") end
  12. Patrick

    Uptime

    1s = 1000ms local ms local s = ms / 1000 local m = s / 60
  13. Wrong language, moved to Portuguese section.
  14. It's not a scripting related question, I'm going to close. You can find it on Google. (Quick search: https://github.com/NullSystemWorks/mtadayz)
  15. Check moveObject required arguments again. You missed something.
  16. And this server is running on localhost? Because I'm sure a closed port is the problem. And you have JS error too.
  17. Stop please help spamming. There is not much we can do with images. Any PHP error? SDK exception or something? Share the public URL with us.
  18. <meta> <info version="1.0.0" type="map"/> <map dimension="0" src="smallbase1.map"/> <settings> <setting value="[ 128 ]" name="#maxplayers"/> <setting value="[ false ]" name="#useLODs"/> <setting value="[ 1 ]" name="#gamespeed"/> <setting value="[ 0 ]" name="#minplayers"/> <setting value="[ 0.0080000004 ]" name="#gravity"/> <setting value="[ 0 ]" name="#waveheight"/> <setting value="[ false ]" name="#locked_time"/> <setting value="[ 0 ]" name="#weather"/> <setting value="12:0" name="#time"/> </settings> <script type="server" src="mapEditorScriptingExtension_s.Lua"/> <script type="client" src="mapEditorScriptingExtension_c.Lua" validate="false"/> <scrpt type="server" src="gate1.Lua"/> </meta>
  19. Wrong language, moved to Portuguese Scripting.
×
×
  • Create New...