Quote:
Originally Posted by Rexonspix
Oh like that
Anyways, I'm using the variable to either setting another variable, or using it in a format()
Etc.
Code:
playerJob[id] = rank;
or
format(menutext,255,"something %s",rank);
|
Just use it directly then.
PHP Code:
format( menutext, 255 , "Something %s" , jobPoliceRank[ the_rank_index ] );
If playerJob[id] holds the rank index, you can do:
PHP Code:
format( menutext, 255 , "Something %s" , jobPoliceRank[ playerJob[id] ] );
__________________