Jump to content

Search the Community

Showing results for tags 'javascrip'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • RAGE Multiplayer
    • Announcements
    • Discussion
    • Suggestions
  • Scripting
    • Scripting
    • Resources
  • Community
    • Support
    • Servers
    • Media Gallery
  • Non-English
    • Русский - Russian
    • Français - French
    • Deutsch - German
    • Espanol - Spanish
    • Română - Romanian
    • Portuguesa - Portuguese
    • Polski - Polish

Categories

  • Scripts
  • Gamemodes
  • Libraries
  • Plugins
  • Maps
  • Tools

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Facebook


Youtube


Skype


Web


VK

Found 11 results

  1. I’m having some trouble using the latest Prisma Client in my server. The generated Prisma code uses ES2021 syntax—specifically, the nullish assignment operator (??=)—which causes runtime errors. Here’s what’s happening: • When I build my project with Rollup and SWC targeting ES2019, I get errors like “Unexpected token ‘??=’” when the server runs. • Also, there are module export issues coming from Prisma (like “Package subpath ‘./runtime/library.js’ is not defined by ‘exports’” in the Prisma Client package). I’ve tried to configure SWC to transpile everything by including Prisma paths, but it still fails. I also tried marking Prisma as external so it wouldn’t get bundled, but then the runtime still hits the unsupported ES2021 syntax. How to Reproduce: 1. Use the latest Prisma Client in a project. 2. Build with Rollup & SWC targeting ES2019. 3. Run the server in RAGE:MP. 4. See the error about the ??= operator and module export issues. Question: Has anyone here managed to bundle Prisma Client for RAGE:MP (or any ES2019 environment) successfully? How did you handle the modern syntax (like ??=) and export issues? Any tips, tricks, or workarounds would be awesome. Thanks!
  2. Hello everybody, first of all , its a delightfull pleasure to find myself here and read about this world of RageMP Development. I consider you all do some honorable work and for that I congratulate everybody :). Few words: I am new to RAGEMP development. I started few days ago and still study most of the related posts from this forum. So please try to keep your calm if I ask some weird questions :). I used to develop few years ago for VC:MP and SA:MP servers and now I am glad this GTA5 Mod appeared and I can't wait to find/script more. Questions: 1. In the local server working environment, is there a way to create a reloading script (packages) for server in order to keep a live testing available? Example: I start the server ,at this moment with this command: nodemon --watch packages --watch client_packages --exec server.exe -e * altought, it seems like every time I change someting in code , it reloads but my client goes in the loading screen and returns a similar message to "Connection closed". Are there some known workarounds/solutions or for every update I need to force close client (Task Manager -> End Process) and reenter the game? 2. Is there a known way to test a +2 Players algorithm? For example lets say a /pay command where another player needs to be close? Do I need to find someone to test this with or is there a workaround for an fake event call of a virtual player? (playerJoined, playerSpawned, etc..)? 3. Is there any active community social media (for instance Discord) where certain Scripters help each other? If yes, can someone name it? Thank you dear reader for spending time to read all the upper sentence. Sincerly, StefanCG.
  3. Salut baieti, sper ca va atras titlu aici. Am experienta in full stack de peste 2 ani la companii romanesti, am lucrat si remote, in prezent lucrez la propria firma si se intampla sa imi placa foarte mult domeniu de fivem si rage, desi mie personal mi se pare o bataie mult prea mare de cap cu manageriatul la un asemenea proiect, sunt aici sa-ti ofer sprijin, consultanta si development. Deja de cateva saptamani lucrez la ragemp si ma joc cu APIul, integrarea la react cu typescript si chestiile mai avansate, si am spus de ce nu sa creeaz aceasta postare poate cineva are nevoie de asemenea ajutor. Aici este canalul meu de youtube pe care il foloseam sa postez resurse create pentru fivem LINK YOUTUBE Dupa cum se vede dupa numarul de vizualizari si calitatea videoclipurile stiu ce inseamna aia sa lucrezi in acest domeniu, nu lasa experienta mea limitata in rage sa te pacaleasca Astept mesajele voastre aici sau pe discord: krane#2890 sa ne auzim sa vedem ce si cum Asteptarile mele sunt: sa te ajut full remote si sa fiu platit pe ceea ce lucrez. Dar daca te simti mai linistit sa ma platesti pe ora sau saptamanal se poate si asa. Putem realiza un contract de colaborare pentru asa ceva, il voi face eu daca tu nu ai firma. Succes la baietii jmecheri
  4. 🖤 Guten Tag liebe RAGEMP Community, 🖤 Das Team rund um den Server Revive-Life sucht einen kompetenten Entwickler / Developer mit Erfahrung im Bereich C# Javascript html css. Wir sind ein noch nicht releaster RP Server und haben klare Vorstellungen sind aber trotz dessen offen für neue Vorschläge. Dinge die du entwickeln würdest wären z.b. Handys, ein Funkgerät, ein Gefängnis System, Frakwar System usw. Also, um es kurz zu fassen wenn du Erfahrung im bereich C# Javascript html css hast würde wir uns freuen wenn du dich bereit erklärts uns zu Helfen vllt auch mit Bezahltung Kontaktmöglichkeiten: Discord: Ronnyb#4819 Discord Server: https://discord.gg/FXAKMB3 Teamspeak 3 Server: revive-life ("Entwickler ● Bewerbung Warteraum") Mit freundlichen Grüßen, 🖤 Revive-Life Team 🖤
  5. plz puch it in german scripting base i can not start a topic on the channel Ich habe ein server genau nach der anleitung von Flashrex aufgesetzt und eingestellt weil ich scripten lernen wollte. Aber wenn ich alles genau wie im video mache was ein wenig dürftig erklärt und in meinen augen einfach nur durch gerusht ist um ja die 15mins einzuhalten fehlen einfach die infos wenn fehler auf treten wie mann sie fixt oder wie mann an den error rann kommt weil eine console die nur System.InvalidOperationException: There is an error in XML document (8, 2). ---> System.Xml.XmlException: There are multiple root elements. Line 8, position 2. at void System.Xml.XmlTextReaderImpl.Throw(Exception e) at void System.Xml.XmlTextReaderImpl.Throw(string res, string arg) at bool System.Xml.XmlTextReaderImpl.ParseDocumentContent() at bool System.Xml.XmlTextReaderImpl.Read() at bool System.Xml.XmlTextReader.Read() at void System.Xml.XmlReader.ReadEndElement() at void System.Xml.Serialization.XmlSerializationReader.ReadEndElement() at ResourceInfo Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderResourceInfo.Read14_ResourceInfo(bool isNullable, bool checkType) at object Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderResourceInfo.Read15_meta() --- End of inner exception stack trace --- at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream) at GTANetworkInternals.GameServer.StartResource(String resourceName, String parent) ausgiebt und nicht mal genau angiet welche datei es ist bringt einenem nichts wenn mann den fehler fixen will. ich hoffe das einer helfen kann um das problem zu lösen und vllt Flashrex seine video nochmal überarbeitet oder auch die kommentare darunter mal bantwotet. MFG TheMock
  6. 🖤 Guten Tag liebe RAGEMP Community, 🖤 Das Team rund um den Server 26s-Bretterlife sucht einen kompetenten Developer mit Erfahrung im Bereich C# Javascript html css. Wir sind ein frisch releaster CrimeLife Server und haben klare Vorstellungen sind aber trotz dessen offen für neue Vorschläge. Dinge die du entwickeln würdest wären z.b. Handys, ein Funkgerät, ein Gefängnis System, Frakwar System usw. Natürlich bleibt gute Arbeit nicht unbelohnt. Wir sind bereit fleißige Arbeit zu bezahlen und das nicht schlecht. Also, um es kurz zu fassen wenn du Erfahrung im bereich C# Javascript html css hast und dir Geld dazuverdienen möchtest dann melde dich bei uns! Kontaktmöglichkeiten: Discord: Eno#1498 Email: [email protected] Teamspeak 3 Server: 26s-bretterlife ("Warte auf Projektleitung") Mit freundlichen Grüßen, 🖤 26s-Bretterlife Team 🖤
  7. Hey, ich wollte mit dem programmieren für RageMP anfangen, aber da stelle ich mir eine Frage. Man kann ja clientseitig mit C# und JS programmieren, kann man mit beidem alles machen oder ist eins der zwei Sprachen im nachteil oder deutlich schwerer? Auf eine Antwort würde ich mich freuen. Mit freundlichen Grüßen FabioPimo
  8. При подключении к своему серверу вылетают ошибки: JS Startup Error #10, Data Storage Error #4 и т.д. Подобные ошибки вылетают и при подключении к другим серверам. С чем может быть связано? В клиентской части своего сервера оставил одну строчку, вывода сообщения в чат Hello, world.
  9. When working with the client side, I encountered errors and do not know how to fix this. When connecting to my server, the following errors occur: JS # 10 startup error, data storage error # 4. Left only one line on the client: mp.gui.chat.push('Hello World')
  10. Is mongodb good for main server database?
  11. Hi all, I'm having a bit of the issue with getting front of player cords. When I run the scrip the angle seems to be random.... let x = mp.players.local.position.x; let y = mp.players.local.position.y; let z = mp.players.local.position.z; let nx = x + (1.2 * Math.sin(mp.players.local.getHeading() + 180)); let ny = y + (1.2 * Math.cos(mp.players.local.getHeading() + 180)); let sadsad = mp.cameras.new("authCam", new mp.Vector3(nx, ny, z + 0.7), new mp.Vector3(0, 0, 0), 40); sadsad.pointAtCoord(x, y, z + 0.7); sadsad.setActive(true); mp.game.cam.renderScriptCams(true, false, 0, true, false);
×
×
  • Create New...