string sPopUp; creates a string with the lable sPopUp since you never give it a value it is equal to "" or a null string.
When you create
string sSpeak = GetLocalString(OBJECT_SELF, sPopUp);
you are saying
string sSpeak = GetLocalString(OBJECT_SELF, "");
since that is what sPopUp is equal to. It will return a null string that sSpeak end up being equal to.
Since you do not really need the sPopUp as a string var just get rid of that line and add quotes around the sPopUp Argg.
string sSpeak = GetLocalString(OBJECT_SELF, "sPopUp");
Modifié par Lightfoot8, 24 novembre 2012 - 07:14 .