quraji
zap
- Reaction score
- 144
Instead of the PlayerKicked function, you may want to use a function argument or a function interface. Probably an interface so you can pass the kicked and kicking players.
Also, since you already have the creator being all powerful, maybe you should make it a list of people? So instead of "Darthfett" it can be "Darthfett,quraji,bob, ted" etc.
You might want to store the player names in an array on init, so that way if the map allows people to change their name I can't, as quraji, do "-name Darthfett" and start kicking people.
Why do you use those globals, temp and gray?
Anyways, nice :thup:
Also, since you already have the creator being all powerful, maybe you should make it a list of people? So instead of "Darthfett" it can be "Darthfett,quraji,bob, ted" etc.
You might want to store the player names in an array on init, so that way if the map allows people to change their name I can't, as quraji, do "-name Darthfett" and start kicking people.
Why do you use those globals, temp and gray?
Anyways, nice :thup: