Xabi Posted July 24, 2018 Author Posted July 24, 2018 2 hours ago, Roven said: 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; } }); Did you try reading the wiki...? https://wiki.rage.mp/index.php?title=Client-side_events
frotlines Posted July 25, 2018 Posted July 25, 2018 anyone has a idea why the login screen and that things not appear right. ? cant put in there a name, the cef things wont work at my site anyone has a idea?
Faui Posted July 28, 2018 Posted July 28, 2018 Hello someone here who found out how to fix the jobs and Parking? I found some bugs - would be cool if someone Can help me out with some questions. write me a pn Thanks
lesi123 Posted August 1, 2018 Posted August 1, 2018 (edited) http://prntscr.com/kd7lf6 http://prntscr.com/kd7lo6 Help not working Edited August 1, 2018 by lesi123
Xabi Posted August 1, 2018 Author Posted August 1, 2018 1 hour ago, lesi123 said: http://prntscr.com/kd7lf6 http://prntscr.com/kd7lo6 Help not working You didn't compile the solution at Visual Studio.
svenhp Posted August 5, 2018 Posted August 5, 2018 В 01.08.2018 в 10:24 AM, Xabi сказал: You didn't compile the solution at Visual Studio. tell me more in detail how to do it?
Geekbee Posted August 5, 2018 Posted August 5, 2018 vor 7 Stunden schrieb svenhp: tell me more in detail how to do it? read the github Prerequisites... https://imgur.com/a/1sAO3oT
onurlife Posted August 5, 2018 Posted August 5, 2018 WiredPlayers: loaded 51 remote event(s) -> Error starting 'WiredPlayers' System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Text.Encoding.CodePages, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Sistem belirtilen dosyayı bulamıyor. at void WiredPlayers.database.Database.OnResourceStart() --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at GTANetworkInternals.ScriptingEngine.InvokeVoidMethod(String method, Object[] args) at System.Collections.Generic.List`1.ForEach(Action`1 action) at GTANetworkInternals.EventHandler.ParseEx(Event _event, ScriptingEngine engine, Object[] arguments) at System.Collections.Generic.List`1.ForEach(Action`1 action) at GTANetworkInternals.GameServer.StartResource(String resourceName, String parent) Started! Waiting for connections..
Xabi Posted August 5, 2018 Author Posted August 5, 2018 1 hour ago, onurlife said: WiredPlayers: loaded 51 remote event(s) -> Error starting 'WiredPlayers' System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Text.Encoding.CodePages, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Sistem belirtilen dosyayı bulamıyor. at void WiredPlayers.database.Database.OnResourceStart() --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at GTANetworkInternals.ScriptingEngine.InvokeVoidMethod(String method, Object[] args) at System.Collections.Generic.List`1.ForEach(Action`1 action) at GTANetworkInternals.EventHandler.ParseEx(Event _event, ScriptingEngine engine, Object[] arguments) at System.Collections.Generic.List`1.ForEach(Action`1 action) at GTANetworkInternals.GameServer.StartResource(String resourceName, String parent) Started! Waiting for connections.. Did you compile the solution? Do you have all the required libraries (bridge + server) under runtime folder?
onurlife Posted August 5, 2018 Posted August 5, 2018 7 hours ago, Xabi said: Did you compile the solution? Do you have all the required libraries (bridge + server) under runtime folder? yes but i think mysql connection not working and [ServerEvent(Event.ResourceStart)] makin that error
Recommended Posts