|
| 02 Aug 2013 06:29 PM |
| Can I just destroy the player from the players folder? |
|
|
| Report Abuse |
|
|
WishNite
|
  |
| Joined: 11 Feb 2009 |
| Total Posts: 15828 |
|
|
| 02 Aug 2013 06:30 PM |
| that doesn't ban them, that kicks them. they can comeback. |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 02 Aug 2013 06:30 PM |
| You'd need a script, that checks if player, who joined is banned, and then you delete his player again. |
|
|
| Report Abuse |
|
|
|
| 02 Aug 2013 06:31 PM |
| ? Zars how can you delete something that is already deleted? |
|
|
| Report Abuse |
|
|
|
| 02 Aug 2013 06:33 PM |
| He means that the player can re-join the game after they get kicked. They don't get banned, only kicked once. |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 02 Aug 2013 06:34 PM |
| He can join back, that's why you check if person that joined is banned, then you delete him again, so he will basically banned from that place. |
|
|
| Report Abuse |
|
|
|
| 02 Aug 2013 06:54 PM |
Okay, I found a way to ban players, but can I check if their name is in a table to ban them?
Quick example:
bannedpeople = {"Noob"}
if player.Name == bannedpeople then -blahblah end |
|
|
| Report Abuse |
|
|
|
| 02 Aug 2013 07:09 PM |
| Yes, you can check through tables with a for statement. |
|
|
| Report Abuse |
|
|