Posts: 302
Threads: 72
Joined: Dec 2009
why when a player gets banned the sound PlayAudioStreamForPlayer(playerid, "bla-bla"); stay only for a few sec? till it says "Server close the connection" i cant make the whole song play?
Posts: 1,274
Threads: 54
Joined: Jul 2012
That's because the Ban Function typically kicks the player after the ban is made in most game-modes. You would need to make a timer before a kick is placed for that player.
Posts: 146
Threads: 46
Joined: Mar 2013
Reputation:
0
Code please, you need to set a timer so the ban will appear after the song.
Posts: 285
Threads: 20
Joined: Jul 2013
Reputation:
0
Since 0.3x is out, kick/ban messages or whatever else, won't appear if you don't make a timer to show them before kicking/banning.