Riderj
|
  |
| Joined: 15 Aug 2011 |
| Total Posts: 1534 |
|
|
| 25 Feb 2012 04:47 PM |
I removed a player from a table then fired my CheckPlayer() function that loops through the table and checks if they chatted. Problem is, they still can use commands after they are removed and it checks the table. Is this a roblox error?
[[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]] |
|
|
| Report Abuse |
|
|
Riderj
|
  |
| Joined: 15 Aug 2011 |
| Total Posts: 1534 |
|
|
| 25 Feb 2012 04:50 PM |
Note:
Adding a player to the list and checking to see if they chatted works... So it is not the function.
[[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]] |
|
|
| Report Abuse |
|
|
Riderj
|
  |
| Joined: 15 Aug 2011 |
| Total Posts: 1534 |
|
|
| 25 Feb 2012 05:14 PM |
Anyone?
[[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]] |
|
|
| Report Abuse |
|
|
sinser
|
  |
| Joined: 30 May 2008 |
| Total Posts: 5923 |
|
|
| 25 Feb 2012 05:15 PM |
It would help if you could show the script....
~"Sinser, thus the most friendliest person on ROBLOX!"~ Like "sinser" on facebook! |
|
|
| Report Abuse |
|
|
Riderj
|
  |
| Joined: 15 Aug 2011 |
| Total Posts: 1534 |
|
|
| 25 Feb 2012 06:57 PM |
There is no script showing needed... I said it all works. I was asking if you can actually revoke chat privileges.
[[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]] |
|
|
| Report Abuse |
|
|
Riderj
|
  |
| Joined: 15 Aug 2011 |
| Total Posts: 1534 |
|
|
| 25 Feb 2012 09:57 PM |
Help?
[[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]] |
|
|
| Report Abuse |
|
|
|
| 26 Feb 2012 01:52 AM |
| when you connect the players the chatted event save it as a variable and save it to a table, then when you remove the player you disconnect the connection with 'connection:disconnect()' |
|
|
| Report Abuse |
|
|
|
| 26 Feb 2012 02:05 AM |
| The best way to stop that from happening would be to store the connections and disconnect them when the player leaves. |
|
|
| Report Abuse |
|
|
Riderj
|
  |
| Joined: 15 Aug 2011 |
| Total Posts: 1534 |
|
|
| 26 Feb 2012 02:06 AM |
Thank you guys.
[[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]] |
|
|
| Report Abuse |
|
|