22.09.2011, 09:22
Try this:
You are calling for 3 random values, thus having "MRandom(3)". Also, use strcat to copy strings =)
pawn Code:
switch(MRandom(3))
{
case 0: strcat(str, "M4", 5);
case 1: strcat(str, "9mm", 5);
case 2: strcat(str, "MP5", 5);
}