Hello Programmers I need help!
#1

Hi, I really need your help guys, I want to make a function which picks up 1 name from the file randomly and I can't do it ..

example:

https://prnt.sc/gvufrh


Thanks!
Reply
#2

new randomNames[5][] =
{
"bot1",
"bot2",
"bot3",
"bot4",
"bot5"
};

printf("%s", randomNames[ random(sizeof(randomNames)) ]);
Reply
#3

https://sampforum.blast.hk/showthread.php?tid=427888
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)