joew Posted April 12, 2019 Posted April 12, 2019 18 minutes ago, varrez said: If you have not already done so, open the project in Visual Studio. Go to Project -> Project Properties -> Build -> Target Framework -> .NET Core 2.2. Then create with CTRL-B. That helped me out @Soul Thank you! The problem was MS have diferent versions to .NET CORE 2.2 to VS 2017 and VS 2019. I was using the version to VS 2019, so it was the problem. I have to get the .NET CORE 2.2.106 instead of 2.2.203 Thank you MS for make things very confusing -.- So i got the right framework here: https://github.com/dotnet/core/blob/master/release-notes/2.2/2.2.4/2.2.4-download.md#downloads
joew Posted April 12, 2019 Posted April 12, 2019 Hum... Im making something wrong. How change the language to pt-BR or English? I changed the meta.xml to: <setting name="culture" value="pt-BR"/> But still in Spanish. The hotkey K don't worked to turn off engines of vehicles too. Are there some documentation that help us to change what we need? I can create my character but can't change the clothes. And Is possible to character don't move at character creation? How i got angry, the character don't stops to move lol Vehicles aren't loosing integrity too. It stills remains 100% ... Thank you!
Kalle801 Posted April 12, 2019 Posted April 12, 2019 vor 7 Stunden schrieb Soul: As far as I can tell, I would make the script detect if the item being equipped is or not a fishing rod. If it is, attatch to the left hand instead of the right hand. The job checks if you're using a fishing rod on right hand, so change that aswell. So: Serverside > globals > globals.cs [RemoteEvent("processMenuAction")] public void ProcessMenuActionEvent(Client player, int itemId, string action) { string message = string.Empty; ItemModel item = GetItemModelFromId(itemId); BusinessItemModel businessItem = Business.GetBusinessItemFromHash(item.hash); switch (action.ToLower()) { /* ... */ case Commands.ARG_EQUIP: if (player.GetSharedData(EntityData.PLAYER_RIGHT_HAND) != null) { player.SendChatMessage(Constants.COLOR_ERROR + ErrRes.right_hand_occupied); } else { // Set the item into the hand item.ownerEntity = Constants.ITEM_ENTITY_LEFT_HAND; if(item.hash == Constants.ITEM_HASH_FISHING_ROD) AttachItemToPlayer(player, item.id, item.hash, "IK_L_Hand", businessItem.position, businessItem.rotation, EntityData.PLAYER_LEFT_HAND); else AttachItemToPlayer(player, item.id, item.hash, "IK_R_Hand", businessItem.position, businessItem.rotation, EntityData.PLAYER_RIGHT_HAND); message = string.Format(InfoRes.player_inventory_equip, businessItem.description.ToLower()); player.SendChatMessage(Constants.COLOR_INFO + message); } break; Keep in mind I didn't try this, and its only based on my assumptions over-reading the code, but its something I would try. Remember to update the Fishing job aswel, to check for a fhishing rod on the left hand instead. Thank you very much
joew Posted April 13, 2019 Posted April 13, 2019 (edited) 1) Change Language: ------------------------------------- I noticed that have GenRes, GenRes.pt-BR and GenRes.en-GB ... And all subfolders from Messages have those 3 languages. So how could i change the language, please? 2) Jobs: -------------- How it works? I read that: You to spawn the vehicle with command /vehicle and set id to 100 + jobid. So, I created one motorcycle with the command /vehicle. Go to the Database phpmyadmin and change the id to 101 Restart the server But I tried to drive it and it told me: "No has atendido ningún pedido" The same with trash job. So, How jobs work, please? What have i do to make then working, please? I even can't quit job, it tells me: "Necesitas cumplir 5 pagas más hasta poder dejar el empleo" 3) Gas Stations: --------------------------- I can't refuel on gas stations. I use the command and it tells me that its not a refuel place... How I config the gas stations to work, please? Thank you very much!!!! Edited April 13, 2019 by joew
EskaPe Posted April 15, 2019 Posted April 15, 2019 https://gyazo.com/ee2f523a9dc66cb550f5253e5e41da69 how can I fix that?
joew Posted April 15, 2019 Posted April 15, 2019 (edited) 2 hours ago, EskaPe said: https://gyazo.com/ee2f523a9dc66cb550f5253e5e41da69 how can I fix that? You've to install and uses the right .NET Core 2.2 for your version of visual studio. Visual Studio 2017 uses .NET Core 2.2.106 and 2019 uses .NET Core 2.2.203 Link: https://github.com/dotnet/core/blob/master/release-notes/2.2/2.2.4/2.2.4-download.md#downloads Edited April 15, 2019 by joew
joew Posted April 16, 2019 Posted April 16, 2019 (edited) I can't leave the hotel room because i'm getting error: The invoked member is not supported in a dynamic assembly. System.Private.CoreLib at System.Reflection.Emit.InternalAssemblyBuilder.get_Location() The invoked member is not supported in a dynamic assembly. C#: compiling scripts.. CS0579: Duplicate 'System.Reflection.AssemblyCompanyAttribute' attribute -> RAGEMP\client_resources\127.0.0.1_22005\cs_packages\WiredPlayers-Client\obj\Release\netcoreapp2.2\WiredPlayers-Client.AssemblyInfo.cs:13 CS0579: Duplicate 'System.Reflection.AssemblyConfigurationAttribute' attribute -> RAGEMP\client_resources\127.0.0.1_22005\cs_packages\WiredPlayers-Client\obj\Release\netcoreapp2.2\WiredPlayers-Client.AssemblyInfo.cs:14 CS0579: Duplicate 'System.Reflection.AssemblyFileVersionAttribute' attribute -> RAGEMP\client_resources\127.0.0.1_22005\cs_packages\WiredPlayers-Client\obj\Release\netcoreapp2.2\WiredPlayers-Client.AssemblyInfo.cs:15 CS0579: Duplicate 'System.Reflection.AssemblyInformationalVersionAttribute' attribute -> RAGEMP\client_resources\127.0.0.1_22005\cs_packages\WiredPlayers-Client\obj\Release\netcoreapp2.2\WiredPlayers-Client.AssemblyInfo.cs:16 CS0579: Duplicate 'System.Reflection.AssemblyProductAttribute' attribute -> RAGEMP\client_resources\127.0.0.1_22005\cs_packages\WiredPlayers-Client\obj\Release\netcoreapp2.2\WiredPlayers-Client.AssemblyInfo.cs:17 CS0579: Duplicate 'System.Reflection.AssemblyTitleAttribute' attribute -> RAGEMP\client_resources\127.0.0.1_22005\cs_packages\WiredPlayers-Client\obj\Release\netcoreapp2.2\WiredPlayers-Client.AssemblyInfo.cs:18 CS0579: Duplicate 'System.Reflection.AssemblyVersionAttribute' attribute -> RAGEMP\client_resources\127.0.0.1_22005\cs_packages\WiredPlayers-Client\obj\Release\netcoreapp2.2\WiredPlayers-Client.AssemblyInfo.cs:19 How could I fix it, please? Thank you! Edited April 16, 2019 by joew
Kalle801 Posted April 16, 2019 Posted April 16, 2019 IS it possible to remove the World-dimensions and use Shops in the "Real world" instead, within a range? @Xabi That would make things a lot easier. Best Regards.
Xabi Posted April 16, 2019 Author Posted April 16, 2019 55 minutes ago, Kalle801 said: IS it possible to remove the World-dimensions and use Shops in the "Real world" instead, within a range? @Xabi That would make things a lot easier. Best Regards. Will be changed soon, so both systems will be used. 1
Recommended Posts