<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/RO/setCameraInterior?action=history&amp;feed=atom</id>
	<title>RO/setCameraInterior - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/RO/setCameraInterior?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=RO/setCameraInterior&amp;action=history"/>
	<updated>2026-05-17T15:52:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=RO/setCameraInterior&amp;diff=67475&amp;oldid=prev</id>
		<title>Vinyard: Created page with &quot;__NOTOC__ {{RO/Funcție comună}} Setează interiorul camerei locale. Doar interiorul camerei este schimbat, jucătorul local rămâne în interiorul în care se află.  ==Sin...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=RO/setCameraInterior&amp;diff=67475&amp;oldid=prev"/>
		<updated>2020-10-10T08:16:53Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__ {{RO/Funcție comună}} Setează interiorul camerei locale. Doar interiorul camerei este schimbat, jucătorul local rămâne în interiorul în care se află.  ==Sin...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
{{RO/Funcție comună}}&lt;br /&gt;
Setează interiorul camerei locale. Doar interiorul camerei este schimbat, jucătorul local rămâne în interiorul în care se află.&lt;br /&gt;
&lt;br /&gt;
==Sintaxă==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setCameraInterior(player thePlayer, int interior)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||[[player]]:setCameraInterior|cameraInterior|getCameraInterior}}&lt;br /&gt;
===Argumente Necesare===&lt;br /&gt;
*'''thePlayer:''' jucătorul a cărui cameră doriți să îi setați interiorul.&lt;br /&gt;
*'''interior:''' interiorul în care să fie plasată camera.&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setCameraInterior(int interior)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{OOP||Camera.setInterior|interior|getCameraInterior}}&lt;br /&gt;
===Argumente Necesare===&lt;br /&gt;
*'''interior:''' interiorul în care să fie plasată camera.&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Redare===&lt;br /&gt;
Redă ''true'' dacă interiorul camerei a fost setat cu succes. În caz contrar, ''false''.&lt;br /&gt;
&lt;br /&gt;
==Exemplu==&lt;br /&gt;
&amp;lt;section name=&amp;quot;Server&amp;quot; class=&amp;quot;server&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Acest exemplu va realiza o comandă pentru a schimba interiorul camerei.&amp;lt;/strong&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function setCamInt(thePlayer, commandName, intID)&lt;br /&gt;
    if (intID) then -- dacă există un ID de interior&lt;br /&gt;
        local seted = setCameraInterior(thePlayer, intID) -- setează interiorul camerei&lt;br /&gt;
        if (seted) then -- dacă interiorul a fost setat în mod corect&lt;br /&gt;
            outputChatBox(&amp;quot;Interiorul camerei tale a fost setat la &amp;quot; .. intID, thePlayer) -- anunță jucătorul de schimbare&lt;br /&gt;
        else -- în caz contrar&lt;br /&gt;
            outputChatBox(&amp;quot;Schimbarea interiorul camerei nu este posibilă&amp;quot;, thePlayer, 255, 0, 0) -- anunță jucătorul de eșecul schimbării interiorului camerei&lt;br /&gt;
        end&lt;br /&gt;
    else -- în caz contrar&lt;br /&gt;
        outputChatBox(&amp;quot;Sintaxă: /caminterior [interiorID]&amp;quot;, thePlayer, 255, 0, 0) -- explică jucătorului sintaxa corectă&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;caminterior&amp;quot;, setCamInt)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&amp;lt;section name=&amp;quot;Client&amp;quot; class=&amp;quot;client&amp;quot; show=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;strong&amp;gt;Acest exemplu va realiza o comandă pentru a schimba interiorul camerei.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function setCam(command, int)&lt;br /&gt;
    if (int) then&lt;br /&gt;
	local setInt = setCameraInterior(int)&lt;br /&gt;
        if (setInt) then&lt;br /&gt;
            outputChatBox(&amp;quot;Interiorul camerei tale a fost setat la &amp;quot; .. int, 255, 255, 0)&lt;br /&gt;
        else&lt;br /&gt;
            outputChatBox(&amp;quot;Can't change your camera's interior...&amp;quot;,255,0,0)&lt;br /&gt;
        end&lt;br /&gt;
    else&lt;br /&gt;
        outputChatBox(&amp;quot;Sintaxă: /camera [interiorID]&amp;quot;, 255, 0, 0)&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addCommandHandler(&amp;quot;camera&amp;quot;,setCam)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Vizualizați de asemenea==&lt;br /&gt;
{{RO/Funcții cameră client}}&lt;br /&gt;
&lt;br /&gt;
[[EN:setCameraInterior]]&lt;br /&gt;
[[hu:setCameraInterior]]&lt;/div&gt;</summary>
		<author><name>Vinyard</name></author>
	</entry>
</feed>