SA-MP Forums Archive
[Ajuda] Bug OnPlayerDeath - 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: [Ajuda] Bug OnPlayerDeath (/showthread.php?tid=565684)



Bug OnPlayerDeath - Marlon307 - 28.02.2015

Gostaria de uma ajuda com meu OnPlayerDeath, nгo posso afirma se й ele.
Mas quando o player esta morrendo queimado e fica parado no fogo, e quando seu life acaba de vez ele dar spawn ele fica bugando levantando e caindo ate quando o fogo apaga. O que pode ser isso.

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(killerid !=INVALID_PLAYER_ID)
    {
        //Code para quem Matou
    }
    GameTextForPlayer(playerid,"Detonado",100,2);

    SendDeathMessage(killerid, playerid, reason);
    return 1;
}



Re: Bug OnPlayerDeath - NexNix - 28.02.2015

Eu acho que esse bug da vida acabar e nгo spawnar sem fazer algo й do SAMP mesmo.


Re: Bug OnPlayerDeath - Marlon307 - 28.02.2015

Quote:
Originally Posted by NexNix
Посмотреть сообщение
Eu acho que esse bug da vida acabar e nгo spawnar sem fazer algo й do SAMP mesmo.
Mas jб joguei em outros servidores e nunka deu isso


Re: Bug OnPlayerDeath - NexNix - 28.02.2015

Jб aconteceu comigo algumas vezes de eu ficar sem vida, mas para meu personagem respawnar tive que pular de alguma altura ou digitar um comando como /morrer..


Re: Bug OnPlayerDeath - Marlon307 - 28.02.2015

Quote:
Originally Posted by NexNix
Посмотреть сообщение
Jб aconteceu comigo algumas vezes de eu ficar sem vida, mas para meu personagem respawnar tive que pular de alguma altura ou digitar um comando como /morrer..
Mas e toda vez que vou fazer o teste da isso


Re: Bug OnPlayerDeath - PT - 28.02.2015

Pode ser os FS ou includes tbm verifique isso.


Re: Bug OnPlayerDeath - NexNix - 28.02.2015

E isso ocorre com todos jogadores do servidor?


Re: Bug OnPlayerDeath - Marlon307 - 28.02.2015

Quote:
Originally Posted by PT
Посмотреть сообщение
Pode ser os FS ou includes tbm verifique isso.
fs nгo pode ser porque nгo gosto de usar. Mas as includes vou ver isso agora


Re: Bug OnPlayerDeath - DannielCooper - 28.02.2015

Tenta setar a 0 o life do jogador novamente quando ele levantar e cair pra ver.


Re: Bug OnPlayerDeath - Marlon307 - 28.02.2015

Quote:
Originally Posted by DannielCooper
Посмотреть сообщение
Tenta setar a 0 o life do jogador novamente quando ele levantar e cair pra ver.
Fiz o que lhe recomendou tambйm nгo deu serto