20.09.2012, 22:51
How do i randomise a string from these options for example: {hey,hello,sup,waddup,hi}
and then format the randomised string into another string?
and then format the randomised string into another string?
new RandomString[5][8] = {
{"hey"},
{"hello"},
{"sup"},
{"waddup"},
{"hi"}
};
//format
new VBString[24];
format(VBString, sizeof VBString, "Test : %s", RandomString[random(sizeof(RandomString))]);