{ STRING* save_string = "#100"; str_cpy(save_string,msg); str_cpy(chatmsgs[4],chatmsgs[3]); str_cpy(chatmsgs[3],chatmsgs[2]); str_cpy(chatmsgs[2],chatmsgs[1]); str_cpy(chatmsgs[1],chatmsgs[0]); str_cpy(chatmsgs[0],save_string); }
PANEL* chat_panel= { digits(0,0,"%s",*,1,chatmsgs[4]); digits(0,50,"%s",*,1,chatmsgs[3]); digits(0,100,"%s",*,1,chatmsgs[2]); digits(0,150,"%s",*,1,chatmsgs[1]); digits(0,200,"%s",*,1,chatmsgs[0]); }
int i; for(i=0; i<5; i++) chatmsgs[i] = str_create("");
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de