Geekbee Posted July 22, 2018 Posted July 22, 2018 (edited) vor 42 Minuten schrieb Xabi: With every server change you have to recompile the gamemode. okay I will test it right now Updated: Okay now works fine with MySQL 5.7 and not Works with 8.x I think the Problem is on 8.X the SSL cipher, but I have not seen any way to disable this Edited July 22, 2018 by Geekbee
Geekbee Posted July 22, 2018 Posted July 22, 2018 Error by / Drivingschool Car (Command) https://imgur.com/a/75NSbce
Xabi Posted July 23, 2018 Author Posted July 23, 2018 7 hours ago, Geekbee said: Error by / Drivingschool Car (Command) https://imgur.com/a/75NSbce You need to fill the questions and answers tables into the database.
Roven Posted July 23, 2018 Posted July 23, 2018 How to understand what this code does, what synchronization? NAPI.Data.SetEntityData NAPI.Entity.SetEntitySharedData NAPI.Data.GetEntityData NAPI.Data.GetEntitySharedData What synchronization are we talking about?
Xabi Posted July 23, 2018 Author Posted July 23, 2018 1 hour ago, Roven said: How to understand what this code does, what synchronization? NAPI.Data.SetEntityData NAPI.Entity.SetEntitySharedData NAPI.Data.GetEntityData NAPI.Data.GetEntitySharedData What synchronization are we talking about? This topic isn't for API related questions, it's only related to the gamemode.
Geekbee Posted July 23, 2018 Posted July 23, 2018 what about Jobs ? I have the garbage,approved but no car spawn to collect trash
Xabi Posted July 23, 2018 Author Posted July 23, 2018 Just now, Geekbee said: what about Jobs ? I have the garbage,approved but no car spawn to collect trash You have to spawn them manually and set their faction to 100 + jobId. You can find the ids on Constants.cs file.
Roven Posted July 23, 2018 Posted July 23, 2018 (edited) Good. Then how do you open the doors? To open them as in single mode Or is it impossible to RAGE? I mean the doors of the houses. Edited July 23, 2018 by Roven
Xabi Posted July 23, 2018 Author Posted July 23, 2018 2 hours ago, Roven said: Good. Then how do you open the doors? To open them as in single mode Or is it impossible to RAGE? I mean the doors of the houses. There's an example on doors.js file. 1
Roven Posted July 24, 2018 Posted July 24, 2018 (edited) Thanks! who causes this event --> playerEnterColshape can't find anywhere mp.events.add('playerEnterColshape', (shape) => { switch(shape.id) { case policeMainDoors.id: mp.game.object.setStateOfClosestDoorOfType(mp.game.joaat('v_ilev_ph_door002'), 434.7479, -983.2151, 30.83926, true, 0, false); mp.game.object.setStateOfClosestDoorOfType(mp.game.joaat('v_ilev_ph_door01'), 434.7479, -980.6184, 30.83926, true, 0, false); break; case policeBackDoors.id: mp.game.object.setStateOfClosestDoorOfType(mp.game.joaat('v_ilev_rc_door2'), 469.9679, -1014.452, 26.53623, true, 0, false); mp.game.object.setStateOfClosestDoorOfType(mp.game.joaat('v_ilev_rc_door2'), 467.3716, -1014.452, 26.53623, true, 0, false); break; case policeCellDoors.id: mp.game.object.setStateOfClosestDoorOfType(mp.game.joaat('v_ilev_ph_cellgate'), 461.8065, -994.4086, 25.06443, true, 0, false); mp.game.object.setStateOfClosestDoorOfType(mp.game.joaat('v_ilev_ph_cellgate'), 461.8065, -997.6583, 25.06443, true, 0, false); mp.game.object.setStateOfClosestDoorOfType(mp.game.joaat('v_ilev_ph_cellgate'), 461.8065, -1001.302, 25.06443, true, 0, false); break; case motorsportMain.id: mp.game.object.setStateOfClosestDoorOfType(mp.game.joaat('v_ilev_csr_door_l'), -59.89302, -1092.952, 26.88362, false, 0, false); mp.game.object.setStateOfClosestDoorOfType(mp.game.joaat('v_ilev_csr_door_r'), -60.54582, -1094.749, 26.88872, false, 0, false); break; case supermarketDoors.id: mp.game.object.setStateOfClosestDoorOfType(mp.game.joaat('v_ilev_gasdoor'), -711.5449, -915.5397, 19.21559, true, 0, false); mp.game.object.setStateOfClosestDoorOfType(mp.game.joaat('v_ilev_gasdoor_r'), -711.5449, -915.5397, 19.2156, true, 0, false); break; case clubhouseDoor.id: mp.game.object.setStateOfClosestDoorOfType(mp.game.joaat('v_ilev_lostdoor'), 981.7533, -102.7987, 74.84873, true, 0, false); break; } }); Edited July 24, 2018 by Roven
Recommended Posts