<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://g1r-mp.com/wiki/index.php?action=history&amp;feed=atom&amp;title=GetThisResource</id>
	<title>GetThisResource - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://g1r-mp.com/wiki/index.php?action=history&amp;feed=atom&amp;title=GetThisResource"/>
	<link rel="alternate" type="text/html" href="https://g1r-mp.com/wiki/index.php?title=GetThisResource&amp;action=history"/>
	<updated>2026-08-05T05:00:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://g1r-mp.com/wiki/index.php?title=GetThisResource&amp;diff=68&amp;oldid=prev</id>
		<title>QCherry: Automatyczna aktualizacja dokumentacji funkcji</title>
		<link rel="alternate" type="text/html" href="https://g1r-mp.com/wiki/index.php?title=GetThisResource&amp;diff=68&amp;oldid=prev"/>
		<updated>2026-08-04T12:44:42Z</updated>

		<summary type="html">&lt;p&gt;Automatyczna aktualizacja dokumentacji funkcji&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!-- This page is generated automatically from the function definition: getThisResource. --&amp;gt;&lt;br /&gt;
= getThisResource =&lt;br /&gt;
Returns the resource object belonging to the currently executing script.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
resource getThisResource()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
This function does not accept parameters.&lt;br /&gt;
&lt;br /&gt;
== Returns ==&lt;br /&gt;
Returns the current resource object.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
Read the current resource name:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot; line&amp;gt;&lt;br /&gt;
local thisResource = getThisResource()&lt;br /&gt;
print(getResourceName(thisResource))&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
* Available in both client-side and server-side resource scripts.&lt;br /&gt;
&lt;br /&gt;
[[Category:Shared Functions]]&lt;br /&gt;
[[Category:Resource Functions]]&lt;/div&gt;</summary>
		<author><name>QCherry</name></author>
	</entry>
</feed>