SA-MP Forums Archive
Wer hat die wenigsten Tode? | Who has the least deaths? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Wer hat die wenigsten Tode? | Who has the least deaths? (/showthread.php?tid=370523)



Wer hat die wenigsten Tode? | Who has the least deaths? - Timmeyable - 20.08.2012

Hi,

ich mцchte wissen wie ich abfragen kann, welcher Spieler die wenigsten Tode hat.
Die Tode werden via SetPVarInt gespeichert.

Bsp.:

Sagen wir, Spieler 1 ist 10 Mal gestorben. Spieler 2 hingegen nur 8 Mal.
Nun fragt ein Timer ab, welcher von allen Spielern die wenigsten Tode hat.
In dem Fall wдre das ja Spieler 2.

****** Translator:

Hi,

I want to know how I can query which player has the fewest deaths.
The death will be saved via SetPVarInt.

Example:

Let's say that Player 1 has died 10 times. Player 2 compared to only 8 times
Now the question, a timer, which has the fewest deaths from all players.
In the case that would be the second player


Hoffe ihr kцnnt mir helfen und versteht was ich meine

GruЯ Tim