[Pedido] som de sino ao bater no jogador com um carro
#1

alguem poderia me passar o codigo que faz quando, alguem bate no jogador com um carro e faz um barulho de sino?
Reply
#2

simples
PHP код:
public OnPlayerGiveDamage(playeriddamagedidFloatamountweaponidbodypart)
{
    if(
playerid != INVALID_PLAYER_ID)
    {
        if(
weaponid == WEAPON_VEHICLE)
        {
            
PlayerPlaySound(playerid178020.00.00.0);
            
PlayerPlaySound(damagedid178020.00.00.0);
        }
    }
    return 
1;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)