Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/18/19 in all areas

  1. Version 1.0.0

    5759 downloads

    A local voice chat example using built-in voice chat API. Look for constants to change max range, auto volume (instead of changing volume on your own) and 3D effect. Press F4 to toggle local player's muted state. As of 24th Oct 2018 you need to use "testing_voice" branch to utilize voice chat API.
    1 point
  2. Version 1.0.0

    1828 downloads

    This script allows you to move the game camera in the air and back like in GTA:ONLINE Installation: Download file. Unzip folder into your client_packages. Add require('MoveSkyCamera/index.js'); to client_packages/index.js. Usage: Calling on serverside player.call('moveSkyCamera', [player, moveTo, switchType, showGUI]); Calling on clientside mp.events.call('moveSkyCamera', player, moveTo, switchType, showGUI); Reference: player = Ped; player handle moveTo = String; 'up' or 'down' switchType = Int; 0, 1, 2 or 3 0: 1 step towards ped 1: 3 steps out from ped (Recommended) 2: 1 step out from ped 3: 1 step towards ped showGUI = Boolean; Show chat and minimap during camera movement? Note: When using param moveTo as 'down', it's not necessary to add switchType and showGUI. Examples: mp.events.addCommand('movecam', (player) => { // Make camera to go up in to the sky player.call('moveSkyCamera', [player, 'up', 1, false]); // After 5 seconds, camera start to go back to player. setTimeout(() => { player.position = new mp.Vector3(0,0,10); // Set your position if you want player.call('moveSkyCamera', [player, 'down']); }, 5000); });
    1 point
  3. Version 0.1

    2566 downloads

    With this script you can get coordinates of the camera and coordinates of where camera is pointing. F5 - enable/disable. F5+Space - disable without warping to ground. W/A/S/D/Space/LCtrl - move. /savecam [name] - save Camera position. Example of save: Position: -64.17094421386719, -824.6749877929688, 373.018310546875 | pointAtCoord: -76.13325500488281, -807.392822265625, 320.28961181640625 | entity: 139321 - First Pos Author: @ragempdev I just added possibility to save camera pos and pointAtCoord
    1 point
  4. Worked really well for me, appreciate the tutorial so much! I expect SQLite to be better and easier for something like a RageMP server (https://www.sqlite.org/whentouse.html), so I mixed your tutorial with this one: https://docs.microsoft.com/en-us/ef/core/get-started/netcore/new-db-sqlite which also had some better looking syntax for queries and the like which will probably work with MySQL as well. Make sure to mark your x.db as copy if newer, and it should just work!
    1 point
  5. C'est pas bien de pomper le modèle de candidature des autres... CF: https://forum.vanity-rp.fr/topic/33/devenir-développeur *again*
    1 point
×
×
  • Create New...