[Pedido] Som+Damage
#1

Queria um fs que mostrasse em textdraw quanto tiro ou perdeu de damage e que fizesse um som ao acertar/tomar tiro..

vlw.
Reply
#2

Gamemode AAD_Death_zone Tem Estas Funcoes.

lembre-se de Deixar os Creditos do Criador.
Reply
#3

isso pode ajudar! https://sampforum.blast.hk/showthread.php?tid=445474
Reply
#4

Ta ai amigo.

pawn Код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount,weaponid)
{
    if (damagedid != INVALID_PLAYER_ID)
    {
        new string[20];
        format(string, sizeof(string), "~y~-~r~%.0f", amount);//Aqui й a mensagem que aparece!
        GameTextForPlayer(playerid, string, 1000, 6);
        GameTextForPlayer(damagedid, string, 1000, 5);
        PlayerPlaySound(damagedid, 17802, 0.0, 0.0, 0.0);// som do "sino"
    }
    return 1;
}
Amigo sou novo no forum e nгo conheзo muito bem a linguagem mais espero que funcione.
Obs:nгo testei!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)