Jump to content

Leaderboard

Popular Content

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

  1. 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
  2. Version 1.0.0

    1566 downloads

    This is a Playerinteraction Menu its only a design. maked with html and css, you must script it on your server. If your Server has more than 100 registered players, than you must make a link with my rage.mp profile on your website.
    1 point
  3. Version 1.0.0

    1721 downloads

    This is a UI for food, drink, money... its only a design. maked with html and css, you must script it on your server. If your Server has more than 100 registered players, than you must make a link with my rage.mp profile on your website.
    1 point
  4. If you didn't buy the game you can't play RageMP, otherwise, read the troubleshooting thread.
    1 point
  5. Hey guys, i have setup a RealTime script to sync the server world time with the realtime, but if i want to check the Time the time will return wrong numbers. [Command("settime")] public void Settime(Client player, int hrs, int min) { NAPI.World.SetTime(hrs, min, 0); NAPI.Chat.SendChatMessageToPlayer(player, $"~g~[WELT ZEIT]~w~ Du hast die Zeit auf: ~y~{hrs}:{min}~w~Uhr gestellt."); } [Command("time")] public void Time(Client player) { NAPI.Chat.SendChatMessageToPlayer(player, $"~g~[SERVER]~w~ Aktuell ist es {NAPI.World.GetTime().ToString()} Uhr"); } } btw. every minute the server will set the world time to real time. NAPI.World.SetTime(DateTime.Now.Hour, DateTime.Now.Minute, 0);
    0 points
×
×
  • Create New...