Mr.Mike Posted August 31, 2023 Posted August 31, 2023 (edited) Good time! I noticed such a problem. I climb up to the back and take the machine gun of the car and shoot. The other player only sees the explosions of the cars I blow up, but does not see how I shoot and fire the machine gun . What could this be a problem? Edited August 31, 2023 by Mr.Mike
Kopra Posted September 1, 2023 Posted September 1, 2023 If you are server developer, potential suggested fix would be giving weapon with vehicle weapon hash to that player server-side.
Mr.Mike Posted September 1, 2023 Author Posted September 1, 2023 (edited) Do you mean if, for example, there is a minigun on the car, then I should take the hash of an ordinary manual minigun and assign to the player what is on the car, even if the weapons look different? For example, here is a car: https://wiki.rage.mp/index.php?title=File:Technical3.png Yes, I am a developer .NET, but did not do the server. The other day, just for the sake of interest, I decided to see what RageMP is and how it all works in terms of synchronization, are there or are there many errors and all sorts of flaws. Edited September 1, 2023 by Mr.Mike
Kopra Posted September 2, 2023 Posted September 2, 2023 (edited) No, regular weapons and vehicle weapons are two different things. Vehicle weapons always have VEHICLE_ prefix. Here is some list I found on internet, I hope it's accurate: ----------------Vehicle Weapons---------------- VEHICLE_WEAPON_ROTORS = 0xB1205A4E,2971687502 VEHICLE_WEAPON_TANK = 0x73F7C04B,1945616459 VEHICLE_WEAPON_SPACE_ROCKET = 0xF8A3939F,4171469727 VEHICLE_WEAPON_PLANE_ROCKET = 0xCF0896E0,3473446624 VEHICLE_WEAPON_PLAYER_LAZER = 0xE2822A29,3800181289 VEHICLE_WEAPON_PLAYER_LASER = 0xEFFD014B,4026335563 VEHICLE_WEAPON_PLAYER_BULLET = 0x4B139B2D,1259576109 VEHICLE_WEAPON_PLAYER_BUZZARD = 0x46B89C8E,1186503822 VEHICLE_WEAPON_PLAYER_HUNTER = 0x9F1A91DE,2669318622 VEHICLE_WEAPON_ENEMY_LASER = 0x5D6660AB,1566990507 VEHICLE_WEAPON_SEARCHLIGHT = 0xCDAC517D,3450622333 VEHICLE_WEAPON_RADAR = 0xD276317E,3530961278 VEHICLE_WEAPON_WATER_CANNON = 0x67D18297,1741783703 ----------------DLC Vehicle Weapons---------------- Heists Update: ------------------------------------ VEHICLE_WEAPON_TURRET_INSURGENT = 0x44DB5498,1155224728 VEHICLE_WEAPON_TURRET_TECHNICAL = 0x7FD2EA0B,2144528907 VEHICLE_WEAPON_NOSE_TURRET_VALKYRIE = 0x4170E491,1097917585 VEHICLE_WEAPON_PLAYER_SAVAGE = 0x61A31349,1638077257 Executives and Other Criminals: ------------------------------------ VEHICLE_WEAPON_TURRET_LIMO = 0x2B796481,729375873 Import/Export: ------------------------------------ VEHICLE_WEAPON_CANNON_BLAZER = 0xEBF9FF3E,3959029566 VEHICLE_WEAPON_TURRET_BOXVILLE = 0xB54F4918,3041872152 VEHICLE_WEAPON_RUINER_BULLET = 0x02FCC0F9,50118905 Edited September 2, 2023 by Kopra
Mr.Mike Posted September 3, 2023 Author Posted September 3, 2023 Thank you for your attention. I'll try to do it and unsubscribe so that everyone knows too. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now