View Single Post
  #2  
Old 10-01-2011, 12:17 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

yes its possible, i've made two methods for this case:

See Code at
http://forum.1cpublishing.eu/showpos...8&postcount=41


usage:

sendScreenMessageTo(1, "test to red", null);
sendScreenMessageTo(2, "test to blue", null);
sendChatMessageTo(1,"test to red", null);
sendChatMessageTo(2,"test to blue", null);

to give additional Information for null you can use "new object[]{ object})
example:
int redpoints = 20;

sendScreenMessageTo(1, "Red has {0} Points", new object[]{ redpoints });

Last edited by FG28_Kodiak; 10-12-2011 at 11:27 AM.
Reply With Quote