Como saber se morreu por queda - 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: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: Como saber se morreu por queda (
/showthread.php?tid=213284)
Como saber se morreu por queda -
TunfeCabrito - 18.01.2011
eae galerinha gente boa, nгo achei nada no search, mas tem jeito de saber se o jogador morreu especificamente por queda tipo:
Код:
public onplayerdeath
{
if(morreuporqueda(playerid))
{
SendClientMessage(playerid, RED, "ninguem te matou bro vc morreu por queda");
}
}
Re: Como saber se morreu por queda -
frenetico - 18.01.2011
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(reason == 54)
{
SendClientMessage(playerid, RED, "ninguem te matou bro vc morreu por queda");
}
return 1;
}
Re: Como saber se morreu por queda -
TunfeCabrito - 19.01.2011
vlw ae brow vo testar