-
Posts
534 -
Joined
-
Last visited
-
Days Won
14
Content Type
Profiles
Forums
Downloads
Posts posted by Kopra
-
-
-
C# serverside:
NAPI.Server.SetCommandErrorMessage(string message)
If you are using JS, you can use playerCommand event.
-
1
-
-
-

-
1
-
-
It could be a lot of things, too detailed textures, too much polygons on your models, incorrect way of importing.. Unless you share your map or give more info not sure how can we help you.
-
That should work, if it doesn't you can use
if (mp.players.local.vehicle != null) { // your code }
-
-
Check #troubleshooting channel on discord, keep your windows up to date and remove any software that could interfere that does the trick for most.
-
-
- Launch Steam and download game “Brawlhalla”.
- After downloading the game Brawlhalla run it.
- After that you can easily run RAGE:MP and go to the server.
-
Most of the users don't have issue, almost always problem is very specific to user and his hardware and software. You can check #troubleshooting channel on discord and also browse and read through #support channels to see what other people with similar issue have tried.
-
What do you mean where do they get it, you either make it yourself or you pay someone to do the job for you, there isn't public resource like this for RAGEMP that I know of.
This script in total with server and clientside code has max 100 lines.
EDIT: @Xabiwas faster 😴
-
None of above examples worked so I share my:
const REQUEST_ADDITIONAL_COLLISION_AT_COORD = "0xC9156DC11411A9EA"; export const getGroundCoords = (vector, tries) => { let groundZ; for (let i = 0; i < tries; ++i) { groundZ = mp.game.gameplay.getGroundZFor3DCoord(vector.x, vector.y, 1000, false, false); if (groundZ) { return new mp.Vector3(vector.x, vector.y, groundZ + 1); } else { for (let z = 1500; z >= 0; z -= 100) { mp.game.streaming.setFocusArea(vector.x, vector.y, z, 0, 0, 0); mp.game.streaming.requestCollisionAtCoord(vector.x, vector.y, z); mp.game.invoke(REQUEST_ADDITIONAL_COLLISION_AT_COORD, vector.x, vector.y, z); mp.game.wait(0); } groundZ = mp.game.gameplay.getGroundZFor3DCoord(vector.x, vector.y, 1000, false, false); if (groundZ) { mp.game.streaming.clearFocus(); return new mp.Vector3(vector.x, vector.y, groundZ + 1); } else { mp.game.streaming.setFocusArea(mp.players.local.position.x, mp.players.local.position.y, mp.players.local.position.z, 0, 0, 0); mp.game.streaming.clearFocus(); } } } return null; } const teleportToWp = () => { const waypoint = mp.game.ui.getFirstBlipInfoId(8); if (!mp.game.ui.doesBlipExist(waypoint)) return; const waypointPos = mp.game.ui.getBlipInfoIdCoord(waypoint); if (!waypointPos) return; const groundPos = getGroundCoords(waypointPos, 10); if (groundPos) { mp.players.local.position = groundPos; return; } mp.gui.chat.push("Ground Z could not be found, try another position."); }; mp.keys.bind(114/* F3 keycode */, false, () => { teleportToWp(); })
-
You realize it's almost 3 years old post that you are replying to? It seems it died long time ago.
-
1
-
-
Something is blocking connection, maybe firewall rule?
-
On 10/10/2022 at 6:34 PM, Blk just said:
How to fix update game to 1.61 (26 july 2022) error. thxs
Join GTA Online, game should auto update itself before.
-
Integration is not yet fully complete that is true, but most if not almost all issues are on user side, not EAC. Join ragemp discord and see what others have tried to do. One of the easiest fixes could be just updating your windows. Also you can try to contact EAC to get some help.
-
You can use System.Linq to simplify this check:
public static Vehicle GetClosestVehicle(Player player, float distance = 15f) { return NAPI.Pools.GetAllVehicles().Where(X => X.Position.DistanceToSquared(player.Position) <= distance).OrderBy(v => v.Position.DistanceToSquared(player.Position)).FirstOrDefault(); }
-
Try to enable vsync, also if servers have mods(most of them do) or not that good optimization you will need a bit stronger PC than for GTA Online and SP.
-
There are more than 1 type of objects in GTA. Props and objects with embedded things like collision and LODs can be removed, if they have anything static then your best bet is to move it underground instead of deleting because deletion is not simple. You will need to give this process some time to learn tricks, there are many tutorials on youtube, it is same for all the MP clients difference is only in import method.
-
You bumped 4 year old topic..
-
// Without optionsconst FirstWay = mp.blips.new(11, mp.players.local.position);// With options, all options are optionalconst SecondWay = mp.blips.new(11, mp.players.local.position, {name: 'Your Blip',color: 1,shortRange: true,scale: 0.7,alpha: 255,dimension: mp.players.local.dimension,});
-
Windows 11 itself should not be an issue, I suggest you join RAGE discord and start troubleshooting.
-
I save money on every change, few things on payday like xp,level and most of the things on player disconnect. I think you should balance it depending on what you are saving and how often data is changed.
-
1
-



Server Crashes
in Server
Posted
With amount of information you provided only true psychic can help you. We need more information, help us help you.