25.08.2016, 22:48
Hello SA:MP Community,
Well I need to add a sound command for my VIP's in the server, I used the PlayPlayerSound code and used some of the Sound ID's in the SA:MP Wiki, but when I came in game to test it, there wasn't any sound at all, while my GTA SA have audio and characters sounds plays.
One of my sound commands(as an example)
Would really appreciate if you help me, and I will +REP you for sure.
Well I need to add a sound command for my VIP's in the server, I used the PlayPlayerSound code and used some of the Sound ID's in the SA:MP Wiki, but when I came in game to test it, there wasn't any sound at all, while my GTA SA have audio and characters sounds plays.
One of my sound commands(as an example)
PHP код:
COMMAND:winforsir(playerid, params[])
{
if(Player[playerid][vip] > 0)
{
PlayerPlaySound(playerid, 5462, 0.0, 0.0, 10.0);
SendClientMessageToAll(-1, "{FF0000}Another win for sir{01DF3A}!");
}
else
{
Server(playerid, "This command only for VIP's.");
}
return 1;
}