OnPlayerText
#1

So I am coding a gamemode, and there is a separated filterscript acting as the main system. The problem is, I have two OnPlayerText - from the gamemode and filterscript itself. If I return 0 to both of them then OnPlayerText's on gamemode doesn't work but OnPlayerText's filterscript work. When I return 1; on filterscript's OnPlayerText then both of OnPlayerText work except the default chat message of SA-MP is being sent first then the coded chat message.

Is there any way round to fix this otherwise I would have to move my filterscript's OnPlayerText on my gamemode's OnPlayerText
Reply


Messages In This Thread
OnPlayerText - by JaKe Elite - 03.12.2016, 12:35
Re: OnPlayerText - by JaKe Elite - 03.12.2016, 23:09
Re: OnPlayerText - by Tass007 - 03.12.2016, 23:21
Re: OnPlayerText - by JaKe Elite - 03.12.2016, 23:39
Re: OnPlayerText - by Tass007 - 03.12.2016, 23:51
Re: OnPlayerText - by JaKe Elite - 04.12.2016, 00:02
Re: OnPlayerText - by Tass007 - 04.12.2016, 00:04
Re: OnPlayerText - by JaKe Elite - 04.12.2016, 00:57
Re: OnPlayerText - by Tass007 - 04.12.2016, 02:26
Re: OnPlayerText - by Yaa - 07.12.2016, 12:57

Forum Jump:


Users browsing this thread: 3 Guest(s)