Help? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help? (
/showthread.php?tid=475959)
Help? -
eblood1 - 15.11.2013
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?
Re: Help? -
Akira297 - 15.11.2013
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.
Re: Help? -
whando - 15.11.2013
Code please, you need to set a timer so the ban will appear after the song.
Re: Help? -
Wizzy951 - 15.11.2013
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.