<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/AR/setPlayerWantedLevel?action=history&amp;feed=atom</id>
	<title>AR/setPlayerWantedLevel - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/AR/setPlayerWantedLevel?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=AR/setPlayerWantedLevel&amp;action=history"/>
	<updated>2026-04-06T10:03:44Z</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=AR/setPlayerWantedLevel&amp;diff=39136&amp;oldid=prev</id>
		<title>3b00dg4mer: Created page with &quot;يتم استخدام هذه الدالة لتعيين مستوى نجوم اللاعب. يشار إلى المستوى النجوم بمقدار نجوم لاعب لديه عل...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=AR/setPlayerWantedLevel&amp;diff=39136&amp;oldid=prev"/>
		<updated>2014-03-21T18:36:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;يتم استخدام هذه الدالة لتعيين مستوى نجوم اللاعب. يشار إلى المستوى النجوم بمقدار نجوم لاعب لديه عل...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;يتم استخدام هذه الدالة لتعيين مستوى نجوم اللاعب. يشار إلى المستوى النجوم بمقدار نجوم لاعب لديه على &lt;br /&gt;
GTA واجهة اللعبة.&lt;br /&gt;
==التركيب== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool setPlayerWantedLevel ( player thePlayer, int stars )            &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===خصائص المطلوبة=== &lt;br /&gt;
*'''thePlayer:''' اللاعب المراد ضبط له عدد النجوم&lt;br /&gt;
*'''stars:''' عدد صحيح من 0 الى 6 يمثل عدد مستوى النجوم&lt;br /&gt;
&lt;br /&gt;
===عوائد===&lt;br /&gt;
Returns ''true'' if the wanted level was set successfully, ''false'' if any of the arguments were invalid.&lt;br /&gt;
==مثال==&lt;br /&gt;
هذا المثال يعطي اللاعب 6 نجوم اذا دخل الى منطقة معينة&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- 'policeStation' نفترض ان هناك منطقة اسمها&lt;br /&gt;
function policeStationHit ( thePlayer ) &lt;br /&gt;
   setPlayerWantedLevel ( thePlayer, 6 ) -- اعطاء اللاعب 6 نجوم&lt;br /&gt;
   outputChatBox ( getPlayerName ( thePlayer ) .. &amp;quot; دخل مقر الشرطة&amp;quot; )&lt;br /&gt;
end&lt;br /&gt;
-- سمي 'policeStationHit' عندما يدخل الى المنطقة:&lt;br /&gt;
addEventHandler ( &amp;quot;onColShapeHit&amp;quot;, policeStation, policeStationHit )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>3b00dg4mer</name></author>
	</entry>
</feed>