SayText2 stops displaying after time
Posted: Fri Nov 06, 2015 7:34 am
We use the SayCommand to send a message back to the user but we keep encountering this strange error where over time it stops responding.
This is the SayCommand:
and some logs right after it occurs:
This is the SayCommand:
Code: Select all
@SayCommand("hello")
def saycommand_test(command, index, team_only): #playerinfo, teamonly, command
playerinfo = playerinfo_from_index(index)
answer = "hello"
SayText2(message="" + answer + "").send(index)
and some logs right after it occurs:
Code: Select all
L 11/05/2015 - 23:04:42: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 11/05/2015 - 23:04:42: [SM] Native "VFormat" reported: Language phrase "SMAC_Tag" not found
L 11/05/2015 - 23:04:42: [SM] Displaying call stack trace for plugin "smac.smx":
L 11/05/2015 - 23:04:42: [SM] [0] Line 65, C:\Users\Max\Desktop\Coding\SourceMod\smac-live\include\colors.inc::CPrintToChat()
L 11/05/2015 - 23:04:42: [SM] [1] Line 185, smac.sp::Timer_WelcomeMsg()