Jump to content

0xCiBeR

Administrators
  • Posts

    1,671
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by 0xCiBeR

  1. Good to know, though I don't recommend giving a user full permissions over your mysql server. You should identify what permissions you need and give the user those.
  2. It is possible, for this you should enable the cursor and listen on the following event: https://wiki.multitheftauto.com/wiki/OnClientClick Event parameters received when event is triggered: string button, string state, int absoluteX, int absoluteY, float worldX, float worldY, float worldZ, element clickedWorld That gives you the absoluteX & absoluteY and also the x,y,z from the world. Most importantly, the last argument passed by the event is an element if one has been clicked, you could check if that element is a car and it's on sale, and then print that out.
  3. This usually means exactly what the error says. You are trying to call a client-side event that is not created(either it being native/manually created with addEvent). This could be because of a script that failed to load and never registered the event, or depending on your script maybe certain conditions are not met for the event to be added. I suggest looking in your scripts for the event syncFuel and make sure that the script that registers the event is working properly.
  4. Wrong credentials as @Patrickstated or it could be wrong permissions over the table/db you want to use.
  5. You need to use: https://wiki.multitheftauto.com/wiki/TriggerClientEvent Or use something that is synced, like elementData.
  6. 0xCiBeR

    Ban

    Como te mencionaron aca: Tu baneo es irrevocable.
  7. https://wiki.multitheftauto.com/wiki/AttachElements https://wiki.multitheftauto.com/wiki/DestroyElement + Element Datas to set status of admin mode https://wiki.multitheftauto.com/wiki/SetElementData https://wiki.multitheftauto.com/wiki/GetElementData
  8. Hola. Aca en el foro no hay ningun usuario con el nombre ELTITI Saludos.
  9. You will also need some sort of saving system. SQLite or MySQL are good options.
  10. Please take a look at the Wiki. You have a lot of ways of achieving this. You can also use a third party service like https://www.game-state.com/
  11. Please edit your post with the proper tag [REQ] [SHOW] [SELL] etc.
  12. https://community.multitheftauto.com/index.php?p=resources&s=details&id=12000 https://community.multitheftauto.com/index.php?p=resources&s=details&id=11265 https://community.multitheftauto.com/index.php?p=resources&s=details&id=18186
  13. In future posts, use the [REQ] tag to let everyone know its a request. I have edited it for you in this instance.
  14. local screenW, screenH = guiGetScreenSize() function showthepanelwithtime() -- Show the text in 2 seconds setTimer(addEventHandler, 2000, 1, "onClientRender", root, test) -- Remove it in another 2 seconds. 2000+2000=4000(4sec) setTimer(removeEventHandler, 4000, 1, "onClientRender", root, test) end addCommandHandler("test1",showthepanelwithtime) function test() dxDrawText("اخلع حزام الامان للنزول", (screenW * 0.0057) - 1, (screenH * 0.4597) - 1, (screenW * 0.1838) - 1, (screenH * 0.5040) - 1, tocolor(0, 0, 0, 255), 2.00, "default", "left", "top", true, true, true, true, false) dxDrawText("اخلع حزام الامان للنزول", (screenW * 0.0057) + 1, (screenH * 0.4597) - 1, (screenW * 0.1838) + 1, (screenH * 0.5040) - 1, tocolor(0, 0, 0, 255), 2.00, "default", "left", "top", true, true, true, true, false) dxDrawText("اخلع حزام الامان للنزول", (screenW * 0.0057) - 1, (screenH * 0.4597) + 1, (screenW * 0.1838) - 1, (screenH * 0.5040) + 1, tocolor(0, 0, 0, 255), 2.00, "default", "left", "top", true, true, true, true, false) dxDrawText("اخلع حزام الامان للنزول", (screenW * 0.0057) + 1, (screenH * 0.4597) + 1, (screenW * 0.1838) + 1, (screenH * 0.5040) + 1, tocolor(0, 0, 0, 255), 2.00, "default", "left", "top", true, true, true, true, false) dxDrawText("اخلع حزام الامان للنزول", screenW * 0.0057, screenH * 0.4597, screenW * 0.1838, screenH * 0.5040, tocolor(255, 0, 0, 255), 2.00, "default", "left", "top", true, true, true, true, false) end
  15. Tambien esta el tema rendimiento. Imaginate un servidor con 1000 jugadores, donde estas haciendo calculos matematicos x1000. Es mucho mas facil recorrer una tabla que es la que te brinda getElementsWithinColShape a tener que calcular distancias por cada jugador.
  16. Buenas, abro este hilo para tener un lugar central donde revisar si X empresa esta reportada por fraudulenta. Ya sea porque no cumple con los terminos contractuales o porque participa en actividades ilicitas. Para incluir una empresa en esta lista, enviar un PM con pruebas contundentes del ilicito. De la misma forma, para ser removido de esta lista, enviar por PM pruebas que refuten.
  17. Buenas. Abro este hilo para poner a vista de todos, las personas que participan en estafas/scams con sus servicios de scripting. Esto es a fin de evitar hacer negocios con esta gente problematica. Para sumar una persona a esta lista, deben enviarme un PM con pruebas CONTUNDENTES (enfasis en esto, ya que no se aceptaran capturas o pruebas que no dicen nada) de que esa persona esta estafando gente. Quien desee ser removido de esta lista, tambien debe contactarme por privado con pruebas contundentes que refuten la acusacion. https://forum.multitheftauto.com/profile/47413-sticmy/ (Pide dinero por adelantado y no completa las tareas asignadas)
  18. Editado un poco, y agregadas nuevas normas.
  19. You have 10 cores and 20 threads, 2,80 GHz is more than enough. .. If thats not enough, then you have an optimization problem. Try enabling turbo.
×
×
  • Create New...