posted on 2008-03-05 16:35:04 by
Omega_K2
Hm.. Well, I tried to use playerlib (the one released with 2.0.0.247) to retrieve the language of the server:
console = playerlib.getPlayer(0)
But I'll get this error:
UseridError: 0 is an invalid userid
I wanted to use it for the language localisation helper. So this won't work for me:
xalng("console", tokens, console.get('lang'))
On the other hand I didn't know that eventscripts_lauguage does exist anyway. I'll use es.getString(eventscripts_language) instead.. thank you.