[Tutoriels - /save] Retrouver une position
-
<p>Salut à tous,</p>
<p> </p>
<p>Pour par exemple placer un CP, il vous faut la position de l’endroit ou vous souhaitez le positionner. (Logique ?)</p>
<p> </p>
<p>Pour avoir cette fameuse position, il vous suffit de vous rendre en jeu à la position souhaiter et d'utiliser la commande /save [Nom].</p>
<p> </p>
<p>Une fois ceci fait, quitter votre jeu et rendez-vous dans le répertoire suivant: C:\Users\Public\Documents\GTA San Andreas User Files\SAMP</p>
<p> </p>
<p>Un nouveau document texte est apparu sous le nom de savedpositions.txt</p>
<p> </p>
<p>Ouvrez-le puis chercher la ligne ou se trouve le nom de votre position (si c'est la première fois sa sera la première ligne)</p>
<p> </p>
<p>Par exemple:</p>
<p> </p>
<p><a href="http://wiki.sa-mp.com/wiki/AddPlayerClass" rel="external nofollow"><span style="color:#006400;">AddPlayerClass</span></a><span style="color:#66cc66;">(</span><span style="color:#4169e1;">0</span>, <span style="color:#4169e1;">1958.33</span>, <span style="color:#4169e1;">1343.12</span>, <span style="color:#4169e1;">15.36</span>, <span style="color:#4169e1;">269.15</span>, <span style="color:#4169e1;">26</span>, <span style="color:#4169e1;">36</span>, <span style="color:#4169e1;">28</span>, <span style="color:#4169e1;">150</span>, <span style="color:#4169e1;">0</span>, <span style="color:#4169e1;">0</span><span style="color:#66cc66;">)</span>; <span style="color:#808080;font-style:italic;">// CJ</span></p>
<p> </p>
<p>Cette ligne se compose de plusieurs chose. On s’intéressera uniquement a la position. (x, y, z)</p>
<p> </p>
<p>Soit pour cette exemple: <span style="color:#4169e1;">1958.33</span>, <span style="color:#4169e1;">1343.12</span>, <span style="color:#4169e1;">15.36</span></p>
<p> </p>
<p>Utiliser désormais votre position dans votre GameMode =D</p>
<p> </p>
<p>Cordialement,</p>
<p>FaKe77.</p>
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login