I have search through this forum & google for a few hours now and I can't find anything I'm used to convert from.
Anyway, I need a loop starting from 0 to 4.
One of these numbers are supposed be randomized and put into a integer.
It also has to exclude number 3, and run through the failed iteration of the loop again if the number becomes 3 or if there is a way to just exclude it from the loop.
EDIT:
Figured out another way of doing it by doing this since the size of the loop wouldn't be so big.
Code:
new const g_Random[] = { 1, 2, 4 }
client_print( iPlayer, print_console, "g_Random = %i" g_Random[random(sizeof g_Random)] );