[Duda] Varias cosas. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (
https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: [Duda] Varias cosas. (
/showthread.php?tid=416392)
[Duda] Varias cosas. -
Loox - 17.02.2013
Bueno, querнa saber cуmo se sacan los FPS de un jugador. Y tambiйn cуmo detectar el arma con la que te matу un jugador.
Saludos.
Respuesta: [Duda] Varias cosas. -
Loox - 17.02.2013
Bump.
Respuesta: [Duda] Varias cosas. -
Parka - 17.02.2013
OnPlayerDeath
esto es una funciуn hecha por un scripter amante a las tortugas aunque no se su nombre :S
PHP код:
new pDrunkLevelLast[MAX_PLAYERS];
new pFPS[MAX_PLAYERS];
stock GetPlayerFPS(playerid) return pFPS[playerid];
public OnPlayerUpdate( playerid )
{
////
new drunknew;
drunknew = GetPlayerDrunkLevel(playerid);
if (drunknew < 100) { // go back up, keep cycling.
SetPlayerDrunkLevel(playerid, 2000);
} else {
if (pDrunkLevelLast[playerid] != drunknew) {
new wfps = pDrunkLevelLast[playerid] - drunknew;
if ((wfps > 0) && (wfps < 200))
pFPS[playerid] = wfps;
pDrunkLevelLast[playerid] = drunknew;
}
}
return 1;
}
Respuesta: [Duda] Varias cosas. -
Loox - 17.02.2013
їY el packetloss cуmo se sacarнa? Porque con la funciуn 'GetPlayerNetworkStats' salen todos los datos del jugador, pero no consigo saber cуmo sacar solamente el packetloss.
Respuesta: [Duda] Varias cosas. -
OTACON - 17.02.2013
[Tutorial] Obtener FPS del jugador Por MrDeath537
Respuesta: [Duda] Varias cosas. -
Loox - 17.02.2013
Lo de los FPS ya lo habнa sacado con lo que me pasу Cйsar, aunque gracias igual. Sуlo necesito ahora cуmo sacar el packetloss.
Respuesta: [Duda] Varias cosas. -
OTACON - 17.02.2013
Quote:
Originally Posted by Loox
Lo de los FPS ya lo habнa sacado con lo que me pasу Cйsar, aunque gracias igual. Sуlo necesito ahora cуmo sacar el packetloss.
|
https://sampforum.blast.hk/showthread.php?tid=358562&page=2
http://forum.sa-mp.com/showpost.php?...2&postcount=13
https://sampforum.blast.hk/showthread.php?tid=184118
PD: Te sirvio por ke es lo mismo , yo solo coloke le post original

:P.