Soundbug at SetPlayerSpecialAction()
#1

Hi,

If a player a JetPack Uses, and then presses a button so that it goes away. Next he hears the jetpack without which he has one.

Hope you understand me ^ ^

Code:
	if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK)
	{
	        SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE);
	        return 1;
	} else {
	        SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USEJETPACK);
	        return 1;
	}
Reply
#2

Confirmed (Yesterday actually, before seeing this post today).

My anticheat removed a Jetpack, the sound remained. After being killed the sound had gone.

You could try playing a sound after resetting their special action from jetpack. A good sound id would be 1186.
Untested.
Reply
#3

pawn Code:
ClearAnimations(playerid);
Reply
#4

I added a fix to Y_Less' fixes.inc for this:

https://sampforum.blast.hk/showthread.php?tid=292813
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)