OnPlayerShootPlayer help! :)
#1

Hello, so I made a little function, when player shoot to player, starts "ring" sound, and the problem is: Sound works, but half of server players don't heard it, when shoot to player. Help meee!

CallBack:

PHP код:
public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost)
{
    
PlayerPlaySound(Shooter6401,0.00.010.0);
    return 
1;

Reply
#2

Perhaps some of your players have a RIP / Cracked / Pirate game version thus having lack of some sounds. By the way, I recommend you using the SA-MP OnPlayerGiveDamage instead of OnPlayerShootPlayer include which is pretty much deprecated.
Reply
#3

Quote:
Originally Posted by admantis
Посмотреть сообщение
Perhaps some of your players have a RIP / Cracked / Pirate game version thus having lack of some sounds. By the way, I recommend you using the SA-MP OnPlayerGiveDamage instead of OnPlayerShootPlayer include which is pretty much deprecated.
Thx, i will try it. Maybe sounds will works with "OnPlayerGiveDamage" callback?
Reply
#4

Change the coordinates to 0, 0, 0 because you're playing it at 0, 0, 10
Reply
#5

Quote:
Originally Posted by MP2
Посмотреть сообщение
Change the coordinates to 0, 0, 0 because you're playing it at 0, 0, 10
Doesn't works for other players too..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)