Xabi Posted October 13, 2018 Author Posted October 13, 2018 1 hour ago, padcmoi said: i tried /inventory but i get this : You don't have any iteam in your inventory for /contacts i get you don't have nay phone i your hand for the items i searched in the city, but i dont found You have to purchase it on a shop created with /business.
Schmand Posted October 13, 2018 Posted October 13, 2018 Hello Xabi, I have just some more little questions cause I coultn find the part in the code. How can I be the Chef of Police? I think the score should be 7 but doesnt work. And the other question is, how is it possible to spawn a vehicle for Job? So if a player is not admin he cant use the command /vehicle create police / ambulance whatever. So how is it possible for them to spawn a vehicle for them? Best regards Schmand
Xabi Posted October 13, 2018 Author Posted October 13, 2018 13 minutes ago, Schmand said: Hello Xabi, I have just some more little questions cause I coultn find the part in the code. How can I be the Chef of Police? I think the score should be 7 but doesnt work. And the other question is, how is it possible to spawn a vehicle for Job? So if a player is not admin he cant use the command /vehicle create police / ambulance whatever. So how is it possible for them to spawn a vehicle for them? Best regards Schmand About the police, set the faction to 1 and yes, rank 7 to be the chief. You can buy vehicles as user in the car dealership.
Flow Posted October 13, 2018 Posted October 13, 2018 Xabi you don't have voice in the gamemode right?
Xabi Posted October 14, 2018 Author Posted October 14, 2018 13 hours ago, cmdflow said: Xabi you don't have voice in the gamemode right? Nope, it's just text, maybe I will implement voice in a future. 1
Atesh Posted October 14, 2018 Posted October 14, 2018 Xabi, can you help me ? -> Error starting 'WiredPlayers' System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> MySql.Data.MySqlClient.MySqlException: Host 'DESKTOP-hidden' is not allowed to connect to this MariaDB server at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket() at void MySql.Data.MySqlClient.NativeDriver.Open() at void MySql.Data.MySqlClient.Driver.Open() at Driver MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) at Driver MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection() at Driver MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() at Driver MySql.Data.MySqlClient.MySqlPool.TryToGetDriver() at Driver MySql.Data.MySqlClient.MySqlPool.GetConnection() at void MySql.Data.MySqlClient.MySqlConnection.Open() at List<BusinessModel> WiredPlayers.database.Database.LoadAllBusiness() in C:\Users\Atesh\Desktop\RageMp Server\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 1218 at void WiredPlayers.business.Business.LoadDatabaseBusiness() in C:\Users\Atesh\Desktop\RageMp Server\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 19 at void WiredPlayers.database.Database.OnResourceStart() in C:\Users\Atesh\Desktop\RageMp Server\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 40 --- 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)
Schmand Posted October 14, 2018 Posted October 14, 2018 vor 18 Stunden schrieb Xabi: About the police, set the faction to 1 and yes, rank 7 to be the chief. You can buy vehicles as user in the car dealership. Yes, that I can buy vehicles at the car dealership is right. But I dont mean the "normal" vehicles. I mean the vehicles vor Jobs like Police / EMS / and garbage collection for example. The other thing is. Iam faction 1 and rank 7 but if I enter /license give weapon 0 (for example) I get the error message "You are nit chief of the police" so maybe a bug? Best regards Schmand
Xabi Posted October 14, 2018 Author Posted October 14, 2018 6 minutes ago, Schmand said: Yes, that I can buy vehicles at the car dealership is right. But I dont mean the "normal" vehicles. I mean the vehicles vor Jobs like Police / EMS / and garbage collection for example. The other thing is. Iam faction 1 and rank 7 but if I enter /license give weapon 0 (for example) I get the error message "You are nit chief of the police" so maybe a bug? Best regards Schmand That question is answered on the FAQ, you have to set their faction after creating them with admin command. About the license, will have to check it.
Xabi Posted October 14, 2018 Author Posted October 14, 2018 1 hour ago, Atesh said: Xabi, can you help me ? -> Error starting 'WiredPlayers' System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> MySql.Data.MySqlClient.MySqlException: Host 'DESKTOP-hidden' is not allowed to connect to this MariaDB server at MySqlPacket MySql.Data.MySqlClient.MySqlStream.ReadPacket() at void MySql.Data.MySqlClient.NativeDriver.Open() at void MySql.Data.MySqlClient.Driver.Open() at Driver MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) at Driver MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection() at Driver MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() at Driver MySql.Data.MySqlClient.MySqlPool.TryToGetDriver() at Driver MySql.Data.MySqlClient.MySqlPool.GetConnection() at void MySql.Data.MySqlClient.MySqlConnection.Open() at List<BusinessModel> WiredPlayers.database.Database.LoadAllBusiness() in C:\Users\Atesh\Desktop\RageMp Server\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 1218 at void WiredPlayers.business.Business.LoadDatabaseBusiness() in C:\Users\Atesh\Desktop\RageMp Server\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 19 at void WiredPlayers.database.Database.OnResourceStart() in C:\Users\Atesh\Desktop\RageMp Server\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 40 --- 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) The credentials are correct? Maybe your server it's using MySQL 5.6?
Atesh Posted October 14, 2018 Posted October 14, 2018 (edited) 8 minutes ago, Xabi said: The credentials are correct? Maybe your server it's using MySQL 5.6? Yes they are, those are the versions. And I am running the server on Windows 10. Edited October 14, 2018 by Atesh
Recommended Posts