OnPlayerText usage?
#4

You will need to put the code in OnPlayerText. There are already scripts out to do what you want to do, but if you want to know how to do it you need to use strfind, and use the value it returns to determine the position of the word, and use strdel to remove the word, and then use strins to enter the stars.

If you need any further help let me know, i'll explain more and maybe give you an example code. However, I recommend you take a look at the scripts that already exist. I believe Sandra made one.
Reply


Messages In This Thread
OnPlayerText usage? - by Ben7544 - 13.04.2011, 16:07
Re: OnPlayerText usage? - by MP2 - 13.04.2011, 16:10
Re: OnPlayerText usage? - by Ben7544 - 13.04.2011, 16:12
Re: OnPlayerText usage? - by MP2 - 13.04.2011, 16:14
Re: OnPlayerText usage? - by Skylar Paul - 13.04.2011, 16:15
Re: OnPlayerText usage? - by MP2 - 13.04.2011, 16:16
Re: OnPlayerText usage? - by Skylar Paul - 13.04.2011, 16:19
Re: OnPlayerText usage? - by Ben7544 - 13.04.2011, 16:37
Re: OnPlayerText usage? - by WillyP - 13.04.2011, 16:49
Re: OnPlayerText usage? - by MP2 - 14.04.2011, 11:51

Forum Jump:


Users browsing this thread: 1 Guest(s)