SA-MP Forums Archive
YSF(kurta999) Console Messages Problem - 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: YSF(kurta999) Console Messages Problem (/showthread.php?tid=652413)



YSF(kurta999) Console Messages Problem - Nyzenic - 10.04.2018

hello
i am using kurta999's version(R19) of YSF
is there any way to prevent console messages from being sent to players?
i tried DisableConsoleMSGsForPlayer(playerid); under OnPlayerConnect but that didnt seem to work...

YSF_ToggleOnServerMessage(0); under OnGameModeInit
and
returning 0 under OnServerMessage still dont work

edit: FIXED
just used samp server R2-1 instead of R2-2
http://forum.sa-mp.com/showthread.ph...75#post3987475


Re: YSF(kurta999) Console Messages Problem - jasperschellekens - 10.04.2018

Assuming youve done something to send these console information, loop trough players and only send to admins for example


Re: YSF(kurta999) Console Messages Problem - Nyzenic - 10.04.2018

Quote:
Originally Posted by jasperschellekens
Посмотреть сообщение
Assuming youve done something to send these console information, loop trough players and only send to admins for example
Nope, the only thing i used YSF for was the SetMaxPlayers function, i never added/edited anything except for that

the console messages started appearing when i loaded the plugin to the server, it also displays them even if I didnt compile the script with YSF.inc
http://forum.sa-mp.com/showpost.php?...postcount=1750

Edit: FIXED