Oh sorry ArmyAll is -1, just copy the methods from a script i made and forgotten to change this.
normally i use
const int ArmyAll = -1;
const int ArmyRed = 1;
const int ArmyBlue = 2;
at the beginning of my scripts.
have corrected the script so if you want send a Message to All you can use
sendChatMessageTo(-1, "Test To All", null);
sendScreenMessageTo(-1, "Test To All", null);
for your localized messages you can use
sendChatMessageTo(-1, GetLocalizedMessage("ru", "Hello"), null);
Last edited by FG28_Kodiak; 10-01-2011 at 02:59 PM.
|