SA-MP Forums Archive
How do I reset a player's stamina? - 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: How do I reset a player's stamina? (/showthread.php?tid=423231)



How do I reset a player's stamina? - AaronKillz - 17.03.2013

Yes, I'd like to know how to replenish someone's stamina after they're tired.


Re: How do I reset a player's stamina? - mastermax7777 - 17.03.2013

u cant sorry..


Re: How do I reset a player's stamina? - Ryan_Bowe - 17.03.2013

I don't know of a way to.


Re: How do I reset a player's stamina? - AaronKillz - 17.03.2013

There is a way though...


Re: How do I reset a player's stamina? - cotyzor - 17.03.2013

Or ... you can modify weapon's damage


Re: How do I reset a player's stamina? - kamzaf - 17.03.2013

Clear Animations resets the players stamina.


Re: How do I reset a player's stamina? - AaronKillz - 17.03.2013

I found out how.

Quote:
Originally Posted by kamzaf
Посмотреть сообщение
Clear Animations resets the players stamina.
No sir it doesn't, why is everybody saying that? It doesn't.


Respuesta: How do I reset a player's stamina? - Parka - 17.03.2013

pawn Код:
new Float:Sinc[3];
GetPlayerPos(playerid , Sinc[0], Sinc[1], Sinc[2]);
SpawnPlayer(playerid);
SetPlayerPos(playerid , Sinc[0], Sinc[1], Sinc[2]);



Re: Respuesta: How do I reset a player's stamina? - AaronKillz - 17.03.2013

Quote:
Originally Posted by cesar_******
Посмотреть сообщение
pawn Код:
new Float:Sinc[3];
GetPlayerPos(playerid , Sinc[0], Sinc[1], Sinc[2]);
SpawnPlayer(playerid);
SetPlayerPos(playerid , Sinc[0], Sinc[1], Sinc[2]);
Yeah, I figured.
Thanks though.


Re: How do I reset a player's stamina? - AaronKillz - 17.03.2013

Quote:
Originally Posted by cotyzor
Посмотреть сообщение
Or ... you can modify weapon's damage
Please shut up if you don't know what you're talking about.