#1

how to make when shooting in contact with a man played the sound
Reply
#2

OnPlayerWeaponShoot....
Reply
#3

Quote:
Originally Posted by AroseKhanNaizi
Посмотреть сообщение
OnPlayerWeaponShoot....
and the code what to write ?
Reply
#4

OnPlayerGiveDamage, and play sound to the playerid.
Reply
#5

Quote:
Originally Posted by Stinged
Посмотреть сообщение
OnPlayerGiveDamage, and play sound to the playerid.
Код HTML:
public OnPlayerGiveDamage
{
PlayerPlaySound(playerid,1056,0.0,0.0,0.0);
return 1;
}
so ?
Reply
#6

1) It's public not publik
2) Where are OnPlayerGiveDamage's parameters?

Fix them and it should work.
Reply
#7

Quote:
Originally Posted by Stinged
Посмотреть сообщение
1) It's public not publik
2) Where are OnPlayerGiveDamage's parameters?

Fix them and it should work.
please write the full code!
Reply
#8

Don't you understand that this is not a request section?
I told you everything you need to know. Now go to sa-mp wiki and learn by yourself.
Reply
#9

Quote:
Originally Posted by Stinged
Посмотреть сообщение
Don't you understand that this is not a request section?
I told you everything you need to know. Now go to sa-mp wiki and learn by yourself.
Карты
Маркет
Перевод
Яндекс.Перевод
there is no such that when shooting at a person when getting played sound
Reply
#10

If you want to speak Russian, go to the Russian section..

I didn't tell you to search "when shooting at a person when getting played sound"
I told you the name of the callback, what you could have done is:
******.com > samp wiki OnPlayerGiveDamage
https://sampwiki.blast.hk/wiki/OnPlayerGiveDamage

Use that callback with the correct parameters and add that PlayerPlaySound you got there.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)