Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/01/19 in all areas

  1. https://owlgaming.net/ Forums Discord IP: v.owlgaming.net:5000 About Us OwlGaming is a long term roleplay project with it's roots coming from Multi Theft Auto on GTA:SA. We have years of experience in running a GTA roleplay community all the way back to 2014. We are a transparent, open and friendly community and we hope to see many new faces from Rage giving our server a shot We've always been big on text roleplay, it's the only way to be truly immersed in your RP experience. The entire map is open for you to RP in with spawn points in LS and Paleto Bay! Features We have a few videos which outline some of our features: Release Date Teaser Gameplay Stream Inventory System Character Creation Custom Tags With tons more coming soon, we post updates frequently here. Hope to see you all in game! Regards, - OwlGaming Community
    3 points
  2. Version 1.1

    384 downloads

    Developer Helper - It will help to quickly turn on, off and restart the server, very convenient. How to install - Unzip all files in the "server-files" folder, then run .exe file and everything should work. The interface is intuitive. Sources on my github >.<
    2 points
  3. Best text based RP server there is out there! Been a while since I had this much fun on a RP server. 10/10 recommend it.
    2 points
  4. Most fun on a rp server I've had in ages. Give it a shot you won't regret it!
    2 points
    The program is good, it looks beautiful, and convenient. The declared functions are performed without problems. In general, the author is well done!
    1 point
  5. Your second example doesn't work because that isn't how you call a function, you didn't say if it was true or false. Your if statements don't make sense either, I don't actually understand what you're trying to do with that, one = assigns a value to a variable, it doesn't check if it's 'equal to' On the client side, "playerEnterVehicle" doesn't have a player parameter so that's why your event doesn't work. Client-side mp.events.add("playerEnterVehicle", (vehicle, seat) => { vehicle.setInvincible(false); });
    1 point
  6. Привет, @7inage, тебе нужно написать клиентскую часть, которая будет считывать файл и конвертировать его в строку формата base64, которая будет отправляться на сервер. На сервере принимать эту строку и конвертировать обратно в файл.
    1 point
  7. Version 1.0.0

    193 downloads

    This resource provides 3 serverside functions to work with tire smoke color feature of GTA V. Installing Put the files you downloaded in their respective places Add require('tiresmoke') to client_packages/index.js All done Serverside API /** * Sets the tire smoke color of a vehicle. * @param {Number} red * @param {Number} green * @param {Number} blue */ vehicle.setTyreSmokeColor(red, green, blue); /** * Gets the tire smoke color of a vehicle. * @return {Object} Tire smoke color, will be null if the vehicle doesn't have one set. */ vehicle.getTyreSmokeColor(); /** * Resets the tire smoke color of a vehicle. */ vehicle.resetTyreSmokeColor(); Example Code // Example: /setsmokecol 255 0 0 mp.events.addCommand("setsmokecol", (player, _, r, g, b) => { if (!player.vehicle) { player.outputChatBox("not in vehicle"); return; } player.vehicle.setTyreSmokeColor(Number(r), Number(g), Number(b)); player.outputChatBox("smoke color set"); }); // Output: "smoke color: {"r":255,"g":0,"b":0}" or "smoke color: null" if you haven't used setsmokecol before mp.events.addCommand("getsmokecol", (player) => { if (!player.vehicle) { player.outputChatBox("not in vehicle"); return; } player.outputChatBox(`smoke color: ${JSON.stringify(player.vehicle.getTyreSmokeColor())}`); }); mp.events.addCommand("remsmokecol", (player) => { if (!player.vehicle) { player.outputChatBox("not in vehicle"); return; } player.vehicle.resetTyreSmokeColor(); player.outputChatBox("smoke color reset"); }); Notes Since this script toggles the tire smoke mod (toggleMod 20), it may not work with your car customization script. Setting the tire smoke color of a vehicle, then changing its model will cause visual desync. Apply tire smoke color again/reset it after changing a vehicle's model to not have this issue. Even though NativeDB says setting the RGB to 0, 0, 0 applies independence day tire smoke, all it did for me was make the tire smoke invisible. Future versions of RAGEMP might add tire smoke color sync, if it happens you should stop using this resource. Source code is available on GitHub in case you don't want to download: https://github.com/root-cause/ragemp-tire-smoke
    1 point
×
×
  • Create New...