<?xml version="1.0"?>
<rss version="2.0"><channel><title>Discussion Latest Topics</title><link>https://rage.mp/forums/forum/44-discussion/</link><description>Discussion Latest Topics</description><language>en</language><item><title>REDUX GTA V.</title><link>https://rage.mp/forums/topic/6656-redux-gta-v/</link><description><![CDATA[<ol><li>
		<em><strong>Who can please give a link to redux for rage mp?</strong></em>
	</li>
</ol>]]></description><guid isPermaLink="false">6656</guid><pubDate>Sun, 24 Nov 2019 17:06:46 +0000</pubDate></item><item><title>Add commands to main class</title><link>https://rage.mp/forums/topic/6644-add-commands-to-main-class/</link><description><![CDATA[<p>
	Hy all!
</p>

<p>
	 
</p>

<p>
	I created an AdminCommands class and it have a few commands for admins, on the Main class i defined the class but it not load the commans.
</p>

<p>
	I find solution <a href="https://wiki.gtanet.work/index.php?title=C.Register" rel="external nofollow">https://wiki.gtanet.work/index.php?title=C.Register</a> this but it not implemend yet.
</p>

<p>
	 
</p>

<p>
	Forexample in AdminCommands class
</p>

<pre class="ipsCode prettyprint lang-c prettyprinted">
<span class="pln">        </span><span class="pun">[</span><span class="typ">Command</span><span class="pun">(</span><span class="str">"getpos"</span><span class="pun">)]</span><span class="pln">
        </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">void</span><span class="pln"> </span><span class="typ">GetPosition</span><span class="pun">(</span><span class="typ">Client</span><span class="pln"> player</span><span class="pun">)</span><span class="pln">
        </span><span class="pun">{</span><span class="pln">
            </span><span class="typ">Vector3</span><span class="pln"> </span><span class="typ">PlayerPos</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> NAPI</span><span class="pun">.</span><span class="typ">Entity</span><span class="pun">.</span><span class="typ">GetEntityPosition</span><span class="pun">(</span><span class="pln">player</span><span class="pun">);</span><span class="pln">
            NAPI</span><span class="pun">.</span><span class="typ">Chat</span><span class="pun">.</span><span class="typ">SendChatMessageToPlayer</span><span class="pun">(</span><span class="pln">player</span><span class="pun">,</span><span class="pln"> </span><span class="str">"X: "</span><span class="pln"> </span><span class="pun">+</span><span class="pln"> </span><span class="typ">PlayerPos</span><span class="pun">.</span><span class="pln">X </span><span class="pun">+</span><span class="pln"> </span><span class="str">" Y: "</span><span class="pln"> </span><span class="pun">+</span><span class="pln"> </span><span class="typ">PlayerPos</span><span class="pun">.</span><span class="pln">Y </span><span class="pun">+</span><span class="pln"> </span><span class="str">" Z: "</span><span class="pln"> </span><span class="pun">+</span><span class="pln"> </span><span class="typ">PlayerPos</span><span class="pun">.</span><span class="pln">Z</span><span class="pun">);</span><span class="pln">
        </span><span class="pun">}</span></pre>

<p>
	 and the Main class
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-c prettyprinted">
<span class="pln">    </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">class</span><span class="pln"> </span><span class="typ">Main</span><span class="pln"> </span><span class="pun">:</span><span class="pln"> </span><span class="typ">Script</span><span class="pln">
    </span><span class="pun">{</span><span class="pln">

        </span><span class="kwd">private</span><span class="pln"> </span><span class="kwd">static</span><span class="pln"> </span><span class="typ">List</span><span class="pun">&lt;</span><span class="typ">Vehicles</span><span class="pun">&gt;</span><span class="pln"> vehicle </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">new</span><span class="pln"> </span><span class="typ">List</span><span class="pun">&lt;</span><span class="typ">Vehicles</span><span class="pun">&gt;();</span><span class="pln">
        </span><span class="kwd">private</span><span class="pln"> </span><span class="kwd">static</span><span class="pln"> </span><span class="typ">List</span><span class="pun">&lt;</span><span class="typ">Players</span><span class="pun">&gt;</span><span class="pln"> players </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">new</span><span class="pln"> </span><span class="typ">List</span><span class="pun">&lt;</span><span class="typ">Players</span><span class="pun">&gt;();</span><span class="pln">
        </span><span class="kwd">private</span><span class="pln"> </span><span class="kwd">static</span><span class="pln"> </span><span class="typ">AdminCommands</span><span class="pln"> admcmd </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">new</span><span class="pln"> </span><span class="typ">AdminCommands</span><span class="pun">(</span><span class="pln">players</span><span class="pun">,</span><span class="pln"> vehicle</span><span class="pun">);</span><span class="pln">
        

        </span><span class="pun">[</span><span class="typ">ServerEvent</span><span class="pun">(</span><span class="typ">Event</span><span class="pun">.</span><span class="typ">ResourceStart</span><span class="pun">)]</span><span class="pln">
        </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">void</span><span class="pln"> </span><span class="typ">OnResourceStart</span><span class="pun">()</span><span class="pln">
        </span><span class="pun">{</span><span class="pln">
            NAPI</span><span class="pun">.</span><span class="typ">Util</span><span class="pun">.</span><span class="typ">ConsoleOutput</span><span class="pun">(</span><span class="str">"Loaded"</span><span class="pun">);</span><span class="pln">

            
        </span><span class="pun">}</span></pre>

<p>
	 
</p>]]></description><guid isPermaLink="false">6644</guid><pubDate>Fri, 22 Nov 2019 15:49:49 +0000</pubDate></item><item><title>createMoneyPickups - SOLVED</title><link>https://rage.mp/forums/topic/6643-createmoneypickups-solved/</link><description><![CDATA[<p>
	Is there an event, which calls when he picks up a money pickup? Want to make it to give the server money.
</p>]]></description><guid isPermaLink="false">6643</guid><pubDate>Fri, 22 Nov 2019 12:49:52 +0000</pubDate></item><item><title>DEV GESUCHT F&#xDC;R RP SERVER!!!</title><link>https://rage.mp/forums/topic/6634-dev-gesucht-f%C3%BCr-rp-server/</link><description><![CDATA[<p>
	<strong>HALLO</strong> Erstmal  von Static-Exception.de Wir wollen ein gutes und Ein sehr erfrischendes Roleplay erlebnis in die welt von GTAV Roleplay bringen.
</p>

<p>
	Also haben wir Uns entschlossen einen DEV zu suchen der uns dabei hilft genau dieses Spiel erlebnis zu bieten.
</p>

<p>
	Ein <strong><em>Testserver </em></strong>wird Natürlich zur verfügung gestellt
</p>

<p>
	LG <em><strong>Movement</strong></em>
</p>

<p>
	<strong>Bei uns kann man sich melden über Discord</strong>
</p>

<p>
	ᵐᵒᵛᵉᵐᵉⁿᵗ#2155
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>]]></description><guid isPermaLink="false">6634</guid><pubDate>Wed, 20 Nov 2019 21:48:16 +0000</pubDate></item><item><title>Javascript Clientside: Prevent custom chat from activating</title><link>https://rage.mp/forums/topic/6629-javascript-clientside-prevent-custom-chat-from-activating/</link><description><![CDATA[<p>
	So i m using this custom chat:
</p>
<iframe allowfullscreen="" data-controller="core.front.core.autosizeiframe" data-embedauthorid="5511" data-embedcontent="" data-embedid="embed886552003" scrolling="no" src="https://rage.mp/forums/topic/1624-adding-a-scroll-bar-for-ragemp-chat/?do=embed" style="height:204px;max-width:502px;"></iframe>

<p>
	along with a dialog system with input boxes. The problem is that, when the player types someting with the letter T in the input box, the chat activates as it was a message (Ex. if the player types "potato" in the input box, the chat input will display "ato")
</p>

<p>
	Is there a way to block this?
</p>]]></description><guid isPermaLink="false">6629</guid><pubDate>Mon, 18 Nov 2019 21:02:59 +0000</pubDate></item><item><title>server does not start</title><link>https://rage.mp/forums/topic/6617-server-does-not-start/</link><description><![CDATA[<p>
	Hello everyone, please help to start the server, at startup it loads scripts, after which it knocks out errors ...
</p>

<p>
	 
</p>

<p>
	<img class="ipsImage" alt="iNCkrYP.png" src="https://i.imgur.com/iNCkrYP.png" /></p>

<p>
	 
</p>

<p>
	<img alt="F1Unu13.png" class="ipsImage" data-ratio="53.33" width="960" src="https://i.imgur.com/F1Unu13.png" /></p>]]></description><guid isPermaLink="false">6617</guid><pubDate>Sat, 16 Nov 2019 09:26:58 +0000</pubDate></item><item><title>How to check if a vehicle is not being used for any driver and any passenger</title><link>https://rage.mp/forums/topic/6572-how-to-check-if-a-vehicle-is-not-being-used-for-any-driver-and-any-passenger/</link><description><![CDATA[<p>
	Hi guys, I would need to know if a vehicle is empty, there are not driver either passenger
</p>

<p>
	 
</p>

<p>
	Thanks in advance
</p>]]></description><guid isPermaLink="false">6572</guid><pubDate>Tue, 05 Nov 2019 16:40:59 +0000</pubDate></item><item><title>How to respawn a vehicle if nobody is using it</title><link>https://rage.mp/forums/topic/6571-how-to-respawn-a-vehicle-if-nobody-is-using-it/</link><description><![CDATA[<p>
	Hi guys, I would need to know how to respawn vehicles when them are not being used by noone.
</p>

<p>
	Thanks in advance.
</p>]]></description><guid isPermaLink="false">6571</guid><pubDate>Tue, 05 Nov 2019 16:32:26 +0000</pubDate></item><item><title>Mapping (English/German)</title><link>https://rage.mp/forums/topic/6569-mapping-englishgerman/</link><description><![CDATA[<p>
	English:
</p>

<p>
	Hello,
</p>

<p>
	my english is not really good but I try to explain my problem.
</p>

<p>
	Yesterday I tried to put my own map in my server, but I can't find anything about my problem. I searched in the Internet for many hours and nobody can fix my problem.
</p>

<p>
	If somebody could help me, I would be very happy. 
</p>

<p>
	- Max
</p>

<p>
	 
</p>

<p>
	German:
</p>

<p>
	Hallo,
</p>

<p>
	mein Englisch ist nicht wirklich gut aber ich versuche mein Problem zu erklären.
</p>

<p>
	Gestern habe ich versucht meine eigene Map in meinem Server hochzuladen, aber ich kann nirgendswo nichts über mein Problem finden. Ich habe mehrere Stunden im Internet verbracht aber niemand konnte mein Problem beheben.
</p>

<p>
	Wenn irgendjemand mir helfen könnte, würde ich mich freuen
</p>

<p>
	- Max
</p>

<p>
	 
</p>

<p>
	 
</p>]]></description><guid isPermaLink="false">6569</guid><pubDate>Tue, 05 Nov 2019 14:04:40 +0000</pubDate></item><item><title>setMoney clientside function not working</title><link>https://rage.mp/forums/topic/6551-setmoney-clientside-function-not-working/</link><description><![CDATA[<p>
	Hi. so i want to display a value in the money section when you press 'ESC'
</p>

<p>
	I used the function setMoney and called it like this in a clientside script:
</p>

<p>
	<img alt="yE6IxoH.png" class="ipsImage" data-ratio="11.55" height="50" width="433" src="https://i.imgur.com/yE6IxoH.png" /></p>

<p>
	Then in game, it will simply not appear. No errors or something like that
</p>

<p>
	<img alt="1u5XdQk.png" class="ipsImage" data-ratio="46.20" height="158" width="342" src="https://i.imgur.com/1u5XdQk.png" /></p>

<p>
	Is there a way to display the money there?
</p>

<p>
	Note: I've made the debug. The functon IS CALLED but it just won t work
</p>]]></description><guid isPermaLink="false">6551</guid><pubDate>Sat, 02 Nov 2019 11:12:16 +0000</pubDate></item><item><title>Peds movement</title><link>https://rage.mp/forums/topic/6546-peds-movement/</link><description><![CDATA[<p>
	Hi, everybody. How can you make a pedestrian run up to the player?
</p>]]></description><guid isPermaLink="false">6546</guid><pubDate>Fri, 01 Nov 2019 10:13:58 +0000</pubDate></item><item><title>[JS] Server crashing when player disconnects</title><link>https://rage.mp/forums/topic/6537-js-server-crashing-when-player-disconnects/</link><description><![CDATA[<p>
	When the player disconnects (either client crashes or kick from the server), the server crashes showing this:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">Error: async hook stack has become corrupted (actual: 141, expected: 18)</span></pre>

<p>
	followed by this:
</p>

<p>
	<img alt="oeXjjEC.png" class="ipsImage" data-ratio="42.77" height="216" width="505" src="https://i.imgur.com/oeXjjEC.png" /></p>

<p>
	 
</p>

<p>
	I thought it was because of this event:
</p>

<pre class="ipsCode prettyprint lang-javascript prettyprinted">
<span class="pln">mp</span><span class="pun">.</span><span class="pln">events</span><span class="pun">.</span><span class="pln">add</span><span class="pun">(</span><span class="str">"playerQuit"</span><span class="pun">,</span><span class="pln"> </span><span class="pun">(</span><span class="pln">player</span><span class="pun">)</span><span class="pln"> </span><span class="pun">=&gt;</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
    </span><span class="kwd">if</span><span class="pun">(</span><span class="pln">player</span><span class="pun">.</span><span class="pln">loggedInAs </span><span class="pun">!=</span><span class="pln"> </span><span class="str">""</span><span class="pun">){</span><span class="pln">
        gm</span><span class="pun">.</span><span class="pln">auth</span><span class="pun">.</span><span class="pln">saveAccount</span><span class="pun">(</span><span class="pln">player</span><span class="pun">);</span><span class="pln">
    </span><span class="pun">}</span><span class="pln">
</span><span class="pun">});</span></pre>

<p>
	But i removed it and the problem persists.
</p>

<p>
	Note: i started my gamemode from this one - 
</p>
<iframe allowfullscreen="" data-controller="core.front.core.autosizeiframe" data-embedauthorid="5511" data-embedcontent="" data-embedid="embed2824699692" scrolling="no" src="https://rage.mp/files/file/83-basic-mysql-gamemode/?do=embed" style="height:438px;max-width:500px;"></iframe>

<p>
	Any help is appreciated, thank you
</p>]]></description><guid isPermaLink="false">6537</guid><pubDate>Tue, 29 Oct 2019 15:24:51 +0000</pubDate></item><item><title>Custom vehicle mods (PlayerEnterVehicle)</title><link>https://rage.mp/forums/topic/6474-custom-vehicle-mods-playerentervehicle/</link><description><![CDATA[<p>
	Hi.
</p>

<p>
	I have a vehicle creator with variable params like: fuel, owner, etc.
</p>

<p>
	It is working with regular vehicles, but with custom mods like rx7cwest(my dlcpacks car name) not exist as a car.
</p>

<p>
	I could spawn the car, but its not reacting with any playerentervehicle call..
</p>]]></description><guid isPermaLink="false">6474</guid><pubDate>Thu, 17 Oct 2019 10:09:46 +0000</pubDate></item><item><title>Fix the double cursor and the pause menu</title><link>https://rage.mp/forums/topic/6484-fix-the-double-cursor-and-the-pause-menu/</link><description><![CDATA[<p>
	After the game is minimized while CEF is running, the pause menu (esc) appears. How can I fix this?
</p>]]></description><guid isPermaLink="false">6484</guid><pubDate>Sat, 19 Oct 2019 19:17:51 +0000</pubDate></item><item><title>Need help about gamemode</title><link>https://rage.mp/forums/topic/6475-need-help-about-gamemode/</link><description><![CDATA[<p>
	Hey i whant to start my own server but idk how to add the RP gamemode can some1 help me fix this tnx.
</p>]]></description><guid isPermaLink="false">6475</guid><pubDate>Thu, 17 Oct 2019 14:10:38 +0000</pubDate></item><item><title>Can someone link guides to learn programming ?</title><link>https://rage.mp/forums/topic/6465-can-someone-link-guides-to-learn-programming/</link><description><![CDATA[<p>
	Hey. I have some really good ideas for a roleplay server that i want to make. I want to run a rage mp server but i dont know what i need and which knowledges etc.
</p>

<p>
	But i know that programming will be important so...
</p>

<p>
	 
</p>

<p>
	Can someone link me tutorials for what i will need that show me every thing i need for making a server ? :). I have a lot of time so i dont mind if it takes much time.
</p>]]></description><guid isPermaLink="false">6465</guid><pubDate>Mon, 14 Oct 2019 23:19:42 +0000</pubDate></item><item><title>MySQL or .JSON saving systems</title><link>https://rage.mp/forums/topic/6427-mysql-or-json-saving-systems/</link><description><![CDATA[<p>
	Just so title say, what you guys thinks is better for some simple gamemode. MySQL or .JSON type of storing data. I tried to use one and another.
</p>

<p>
	Must say that MySQL is more safer for storing data and more organized (my opinion). But I chose .JSON because it's much easier to get use to work with it, and much simpler for coding then mySQL.
</p>

<p>
	What do you guys think?  
</p>]]></description><guid isPermaLink="false">6427</guid><pubDate>Tue, 08 Oct 2019 11:52:32 +0000</pubDate></item><item><title>What is wrong here?</title><link>https://rage.mp/forums/topic/6423-what-is-wrong-here/</link><description><![CDATA[<p>
	<strong>On 'client_packages/index.js':</strong>
</p>

<pre class="ipsCode prettyprint lang-javascript prettyprinted">
<span class="kwd">var</span><span class="pln"> loadingBrowser </span><span class="pun">=</span><span class="pln"> mp</span><span class="pun">.</span><span class="pln">browsers</span><span class="pun">.</span><span class="kwd">new</span><span class="pun">(</span><span class="str">"package://loading.html"</span><span class="pun">);</span><span class="pln">
mp</span><span class="pun">.</span><span class="pln">gui</span><span class="pun">.</span><span class="pln">cursor</span><span class="pun">.</span><span class="pln">show</span><span class="pun">(</span><span class="kwd">true</span><span class="pun">,</span><span class="pln"> </span><span class="kwd">true</span><span class="pun">);</span></pre>

<p>
	<strong><span style="font-size:14px;">Based on my analysis, this should show the HTML content to the client as it enters the server, however, nothing happens.</span></strong>
</p>

<p>
	<img alt="rp9iLHA.png" class="ipsImage" data-ratio="61.46" height="480" width="781" src="https://i.imgur.com/rp9iLHA.png" /></p>]]></description><guid isPermaLink="false">6423</guid><pubDate>Mon, 07 Oct 2019 19:19:10 +0000</pubDate></item><item><title>Mysql Problem on Linux</title><link>https://rage.mp/forums/topic/6380-mysql-problem-on-linux/</link><description><![CDATA[<p>
	Hello Community
</p>

<p>
	I trying to make my first script working on linux but mysql is making problems.
</p>

<p>
	Its says "failed to load Mysql.Data.dll, assembly not found" so i put the ref in my meta.xml and added a ref inside Visual Studio and have the using Mysql.Data.MysqlClient 
</p>

<p>
	but still same error.
</p>

<p>
	 
</p>

<p>
	 
</p>]]></description><guid isPermaLink="false">6380</guid><pubDate>Tue, 01 Oct 2019 03:05:30 +0000</pubDate></item><item><title>C# |Posgresql | Npgsql | connector | Could not load file or assembly 'System.Data.Common</title><link>https://rage.mp/forums/topic/6338-c-posgresql-npgsql-connector-could-not-load-file-or-assembly-systemdatacommon/</link><description><![CDATA[<p>
	Hello, I have a problem<br /><a href="https://imgur.com/a/Y6YkmBK" rel="external nofollow"> </a><span style="background-color:#ffffff;color:#212121;font-size:16px;text-align:left;">--&gt; </span><a href="https://imgur.com/a/Y6YkmBK" rel="external nofollow">Link </a><span style="background-color:#ffffff;color:#212121;font-size:16px;text-align:left;">&lt;--</span><span> </span><span> </span>
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">
using Npgsql;
using GTANetworkAPI;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using System.Threading.Tasks;
using System;

namespace Npgsql
{
    public class Main : Script
    {
        [Command("test")]
        public void Hello(Client client)
        {
            string conn_param = "Server=127.0.0.1;Port=5432;User Id=postgres;Password=**********;Database=postgresqlDB;";
            NpgsqlConnection conn = new NpgsqlConnection(conn_param);
            NpgsqlCommand com = new NpgsqlCommand("SELECT * FROM players;", conn);
            conn.Open();
            NpgsqlDataReader reader;
            reader = com.ExecuteReader();
            while (reader.Read())
            {
                try
                {
                    string result = reader.GetString(1);
                    client.SendChatMessage(result);
                }
                catch { }

            }
            conn.Close();
        }
    }
}</span></pre>

<p>
	<span style="background-color:#ffffff;color:#212121;font-size:16px;text-align:left;">I must say right away that he cannot find the library, I understand, the fact is that it is present.</span><br />
	If you add the file System.Data.Common in the folder from which the server is started, another error will appear.
</p>

<p>
	<span style="background-color:#ffffff;color:#212121;font-size:16px;text-align:left;">--&gt; </span><span style="background-color:#ffffff;color:#212121;font-size:16px;text-align:left;"><a href="https://imgur.com/a/PLAwQ0e" rel="external nofollow"> Link</a> &lt;--</span>
</p>

<p>
	<span style="background-color:#ffffff;color:#212121;font-size:16px;text-align:left;">And add the file  </span>System.Threading.tasks.extensions<span style="background-color:#ffffff;color:#212121;font-size:16px;text-align:left;"> in the folder,</span> Nothing happens.<br /><br />
	 
</p>

<p>
	 
</p>

<p>
	 
</p>]]></description><guid isPermaLink="false">6338</guid><pubDate>Sat, 21 Sep 2019 14:09:19 +0000</pubDate></item><item><title>C# PedHash</title><link>https://rage.mp/forums/topic/6305-c-pedhash/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	I want to create a Ped with the model ShopLowSFY. I used the following clientside statements:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">Vector3 pos = (Vector3) args[0];
uint hash = Convert.ToUInt32(args[2]);
float heading = (float)args[1];
RAGE.Elements.Ped ped = new RAGE.Elements.Ped(hash, pos, heading);</span></pre>

<p>
	At serverside I passed the arguments like this:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">NAPI.ClientEvent.TriggerClientEvent(client, "create_ped_event", client.Position, client.Heading, NAPI.Util.PedNameToModel(model));</span></pre>

<p>
	The problem is that the hash must be a uint but the model's hash is <span style="background-color:#ffffff;color:#252525;font-size:13.16px;text-align:left;">-1452399100.</span>
</p>

<p>
	<font color="#252525"><span style="font-size:13.16px;">How can I solve that?</span></font>
</p>]]></description><guid isPermaLink="false">6305</guid><pubDate>Mon, 16 Sep 2019 20:43:41 +0000</pubDate></item><item><title>Need help with js (ragemp dev newbie)</title><link>https://rage.mp/forums/topic/6282-need-help-with-js-ragemp-dev-newbie/</link><description><![CDATA[<p style="background-color:#ffffff;color:#272a34;font-size:14px;">
	I am new to ragemp dev, how can i install <a href="https://rage.mp/files/file/251-compass/?tab=comments" rel="">this</a> plugin to my server? 
</p>

<p style="background-color:#ffffff;color:#272a34;font-size:14px;">
	How do i make a path from packages/gamemode/index.js to client_packages/compass.js file?
</p>]]></description><guid isPermaLink="false">6282</guid><pubDate>Fri, 13 Sep 2019 18:58:10 +0000</pubDate></item><item><title>C# |MySql connector | Could not load file or assembly 'System.Data.Common</title><link>https://rage.mp/forums/topic/4375-c-mysql-connector-could-not-load-file-or-assembly-systemdatacommon/</link><description><![CDATA[
<pre class="ipsCode prettyprint lang-c prettyprinted">
<span>System</span><span class="pun">.</span><span>Reflection</span><span class="pun">.</span><span>TargetInvocationException</span><span class="pun">:</span><span class="pln"> </span><span>Exception</span><span class="pln"> has been thrown by the target of an invocation</span><span class="pun">.</span><span class="pln"> </span><span class="pun">---&gt;</span><span class="pln"> </span><span>System</span><span class="pun">.</span><span class="pln">IO</span><span class="pun">.</span><span>FileNotFoundException</span><span class="pun">:</span><span class="pln"> </span><span>Could</span><span class="pln"> not load file or assembly </span><span class="str">'System.Data.Common, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'</span><span class="pun">.</span><span class="pln"> </span><span class="pun">Не</span><span class="pln"> </span><span class="pun">удается</span><span class="pln"> </span><span class="pun">найти</span><span class="pln"> </span><span class="pun">указанный</span><span class="pln"> </span><span class="pun">файл.</span><span class="pln">
   at </span><span class="kwd">new</span><span class="pln"> </span><span>ServerSide</span><span class="pun">.</span><span class="pln">mysqli</span><span class="pun">(</span><span class="pln">string host</span><span class="pun">,</span><span class="pln"> string user</span><span class="pun">,</span><span class="pln"> string password</span><span class="pun">,</span><span class="pln"> string db</span><span class="pun">)</span><span class="pln">
   at </span><span class="kwd">new</span><span class="pln"> </span><span>ServerSide</span><span class="pun">.</span><span>Manager</span><span class="pun">()</span><span class="pln"> in D</span><span class="pun">:</span><span class="pln">\rumod\ragemp\server</span><span class="pun">-</span><span class="pln">files\ragemp_csharp_scripts\ragemp_uncomiled_scripts_csharp\ServerSide\Manager</span><span class="pun">.</span><span class="pln">cs</span><span class="pun">:</span><span class="pln">line </span><span class="lit">9</span><span class="pln">
   </span><span class="pun">---</span><span class="pln"> </span><span>End</span><span class="pln"> of inner exception </span><span>stack</span><span class="pln"> trace </span><span class="pun">---</span><span class="pln">
   at </span><span>System</span><span class="pun">.</span><span>RuntimeTypeHandle</span><span class="pun">.</span><span>CreateInstance</span><span class="pun">(</span><span>RuntimeType</span><span class="pln"> type</span><span class="pun">,</span><span class="pln"> </span><span>Boolean</span><span class="pln"> publicOnly</span><span class="pun">,</span><span class="pln"> </span><span>Boolean</span><span class="pun">&amp;</span><span class="pln"> canBeCached</span><span class="pun">,</span><span class="pln"> </span><span>RuntimeMethodHandleInternal</span><span class="pun">&amp;</span><span class="pln"> ctor</span><span class="pun">)</span><span class="pln">
   at </span><span>System</span><span class="pun">.</span><span>RuntimeType</span><span class="pun">.</span><span>CreateInstanceSlow</span><span class="pun">(</span><span>Boolean</span><span class="pln"> publicOnly</span><span class="pun">,</span><span class="pln"> </span><span>Boolean</span><span class="pln"> skipCheckThis</span><span class="pun">,</span><span class="pln"> </span><span>Boolean</span><span class="pln"> fillCache</span><span class="pun">,</span><span class="pln"> </span><span>StackCrawlMark</span><span class="pun">&amp;</span><span class="pln"> stackMark</span><span class="pun">)</span><span class="pln">
   at </span><span>System</span><span class="pun">.</span><span>Activator</span><span class="pun">.</span><span>CreateInstance</span><span class="pun">(</span><span>Type</span><span class="pln"> type</span><span class="pun">,</span><span class="pln"> </span><span>Boolean</span><span class="pln"> nonPublic</span><span class="pun">)</span><span class="pln">
   at </span><span>GTANetworkInternals</span><span class="pun">.</span><span>GameServer</span><span class="pun">.&lt;</span><span>InstantiateScripts</span><span class="pun">&gt;</span><span class="pln">d__61</span><span class="pun">.</span><span>MoveNext</span><span class="pun">()</span><span class="pln">
   at </span><span>System</span><span class="pun">.</span><span>Linq</span><span class="pun">.</span><span>Enumerable</span><span class="pun">.</span><span>SelectEnumerableIterator</span><span class="pun">`</span><span class="lit">2.MoveNext</span><span class="pun">()</span><span class="pln">
   at </span><span>System</span><span class="pun">.</span><span>Collections</span><span class="pun">.</span><span>Generic</span><span class="pun">.</span><span>List</span><span class="pun">`</span><span class="lit">1.AddEnumerable</span><span class="pun">(</span><span>IEnumerable</span><span class="pun">`</span><span class="lit">1</span><span class="pln"> enumerable</span><span class="pun">)</span><span class="pln">
   at </span><span>System</span><span class="pun">.</span><span>Collections</span><span class="pun">.</span><span>Generic</span><span class="pun">.</span><span>List</span><span class="pun">`</span><span class="lit">1.InsertRange</span><span class="pun">(</span><span>Int32</span><span class="pln"> index</span><span class="pun">,</span><span class="pln"> </span><span>IEnumerable</span><span class="pun">`</span><span class="lit">1</span><span class="pln"> collection</span><span class="pun">)</span><span class="pln">
   at </span><span>GTANetworkInternals</span><span class="pun">.</span><span>GameServer</span><span class="pun">.</span><span>StartResource</span><span class="pun">(</span><span>String</span><span class="pln"> resourceName</span><span class="pun">,</span><span class="pln"> </span><span>String</span><span class="pln"> parent</span><span class="pun">)</span></pre>

<p>
	Я подключил модуль MySql, написал реализации класса, но появляются такие ошибки. Сразу скажу, что он не может найти библиотеку я понимаю, дело в том, что она присутствует.
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	<span style="background-color:#ffffff;color:#212121;font-size:16px;text-align:left;">I connected the MySql module, wrote class implementations, but such errors appear. I must say right away that he cannot find the library, I understand, the fact is that it is present.</span>
</p>
]]></description><guid isPermaLink="false">4375</guid><pubDate>Mon, 20 May 2019 15:04:38 +0000</pubDate></item><item><title>C# MySQL Connection</title><link>https://rage.mp/forums/topic/6026-c-mysql-connection/</link><description><![CDATA[<p>
	Hello, can you help me solve a C# MySQL connection problem?
</p>

<p>
	The error is as follows:<br />
	System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&gt; System.TypeLoadException: Could not load type 'System.Security.PermissionSet' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral , PublicKeyToken=b77a5c561934e089'.<br />
	   At MySql.Data.MySqlClient.MySqlConnection.AssertPermissions()<br />
	   At MySql.Data.MySqlClient.MySqlConnection.Open()<br />
	   At GameMode.ResourceStart()<br />
	   --- End of inner exception stack trace ---<br />
	   At System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)<br />
	   At System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)<br />
	   At GTANetworkInternals.ScriptingEngine.InvokeVoidMethod(String method, Object[] args)<br />
	   At System.Collections.Generic.List`1.ForEach(Action`1 action)<br />
	   At GTANetworkInternals.EventHandler.ParseEx(Event _event, ScriptingEngine engine, Object[] arguments)<br />
	   At System.Collections.Generic.List`1.ForEach(Action`1 action)<br />
	   At GTANetworkInternals.GameServer.StartResource(String resourceName, String parent)
</p>

<p>
	I used nuget's mysql data and also referenced bootstrapper but it always gives an error. Thank you!
</p>]]></description><guid isPermaLink="false">6026</guid><pubDate>Sat, 17 Aug 2019 19:10:49 +0000</pubDate></item><item><title>Help me find more Animations so we can make, Animations great again!</title><link>https://rage.mp/forums/topic/6143-help-me-find-more-animations-so-we-can-make-animations-great-again/</link><description><![CDATA[<p>
	Hello there,<br />
	I am the scripter of:
</p>
<iframe allowfullscreen="" data-controller="core.front.core.autosizeiframe" data-embedauthorid="60177" data-embedcontent="" data-embedid="embed2476338652" scrolling="no" src="https://rage.mp/files/file/242-shortcuts-animations-on-numpad-100-javascirpt/?do=embed" style="height:441px;max-width:502px;"></iframe>

<p>
	And i want to "<strong>Complete</strong>" this res to make it <strong>more</strong> <strong>usefull</strong>!<br />
	 
</p>

<p>
	You can use this Server to find new Animations use /animplayer:
</p>

<p>
	<a href="https://fobsi.ch/gta/animplayer.zip" rel="external nofollow">Server with Animplayer download</a>
</p>
<iframe allowfullscreen="" data-controller="core.front.core.autosizeiframe" data-embedauthorid="1826" data-embedcontent="" data-embedid="embed6528882033" scrolling="no" src="https://rage.mp/files/file/60-animplayer/?do=embed" style="height:441px;max-width:502px;"></iframe>

<p>
	Here you can find all Animations:
</p>

<p>
	<a href="https://alexguirre.github.io/animations-list/" rel="external nofollow">https://alexguirre.github.io/animations-list/</a>
</p>

<p>
	 
</p>

<p>
	So please help me by pushing cool animations to this thread in the following patern:
</p>

<div style="background-color:#1e1e1e;color:#d4d4d4;font-size:14px;">
	<div>
		<span style="color:#c586c0;">else</span><span style="color:#d4d4d4;"> </span><span style="color:#c586c0;">if</span><span style="color:#d4d4d4;"> (</span><span style="color:#9cdcfe;">item</span><span style="color:#d4d4d4;"> </span><span style="color:#d4d4d4;">==</span><span style="color:#d4d4d4;"> </span><span style="color:#ce9178;">"<strong>Security</strong>"</span><span style="color:#d4d4d4;">) {</span><span style="color:#9cdcfe;">namenAni</span><span style="color:#d4d4d4;"> </span><span style="color:#d4d4d4;">=</span><span style="color:#d4d4d4;"> </span><span style="color:#9cdcfe;">item</span><span style="color:#d4d4d4;">+</span><span style="color:#ce9178;">""</span>
	</div>

	<div>
		<span style="color:#d4d4d4;">  </span><span style="color:#9cdcfe;">p1</span><span style="color:#d4d4d4;"> </span><span style="color:#d4d4d4;">=</span><span style="color:#d4d4d4;"> </span><span style="color:#ce9178;">'"<strong>mini@strip_club@idles@bouncer@idle_a</strong>"'</span>
	</div>

	<div>
		<span style="color:#d4d4d4;">  </span><span style="color:#9cdcfe;">p2</span><span style="color:#d4d4d4;"> </span><span style="color:#d4d4d4;">=</span><span style="color:#d4d4d4;"> </span><span style="color:#ce9178;">'"<strong>idle_a</strong>"'</span>
	</div>

	<div>
		<span style="color:#d4d4d4;">  </span><span style="color:#9cdcfe;">mp</span><span style="color:#d4d4d4;">.</span><span style="color:#9cdcfe;">events</span><span style="color:#d4d4d4;">.</span><span style="color:#dcdcaa;">callRemote</span><span style="color:#d4d4d4;">(</span><span style="color:#ce9178;">"server:shortcut:save"</span><span style="color:#d4d4d4;">,</span><span style="color:#9cdcfe;">namenAni</span><span style="color:#d4d4d4;">, </span><span style="color:#9cdcfe;">slotid</span><span style="color:#d4d4d4;">,</span><span style="color:#9cdcfe;">p1</span><span style="color:#d4d4d4;">,</span><span style="color:#9cdcfe;">p2</span><span style="color:#d4d4d4;">,</span><strong><span style="color:#b5cea8;">1</span><span style="color:#d4d4d4;">,</span><span style="color:#b5cea8;">49</span></strong><span style="color:#d4d4d4;">);</span>
	</div>

	<div>
		<span style="color:#d4d4d4;">}</span>
	</div>
</div>

<p>
	I am thankful for any help <span><img alt=":)" data-emoticon="" height="20" src="https://rage.mp/uploads/emoticons/smile.png" srcset="https://rage.mp/uploads/emoticons/smile@2x.png 2x" title=":)" width="20" /></span>
</p>

<p>
	<span>Hank</span>
</p>]]></description><guid isPermaLink="false">6143</guid><pubDate>Wed, 28 Aug 2019 07:28:21 +0000</pubDate></item></channel></rss>
