I've edited a votekick system to appear nicer but not im trying to change it from "votekick 1" to "Votekick *playername*"
I've played around with the enter chat triggers and cant figure it. im assuming i would need to bank a players name upon starting game and call on that through a chat command.
A player's name is text. Text can't be converted to string, which is what would need to be done for it to be read by triggers. You could force every player to enter their name in an edit box at the start (similar to what Mafia has you do) and store that in a string variable.
Use this site's search function to find tutorials on banks. They're quite helpful.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I've edited a votekick system to appear nicer but not im trying to change it from "votekick 1" to "Votekick *playername*"
I've played around with the enter chat triggers and cant figure it. im assuming i would need to bank a players name upon starting game and call on that through a chat command.
Although, i have no idea how bank system works.
Any help?
Thanks.
A player's name is text. Text can't be converted to string, which is what would need to be done for it to be read by triggers. You could force every player to enter their name in an edit box at the start (similar to what Mafia has you do) and store that in a string variable.
Use this site's search function to find tutorials on banks. They're quite helpful.