hello, Im trying to make a human classes and i was wondering how could i let a player having the same "class" more rounds? i mean, if a player chooses class1 (200hp blabla) but he is able to chose only one class per round, how can i let him continuing the same class even the next round without choosing it again?
PHP Code:
public evHookRoundStart( )
{
new iPlayers[ 32 ];
new iPlayersNum;
get_players( iPlayers, iPlayersNum, "ch" );
for( new i = 0 ; i < iPlayersNum ; i++ )
{
UserChoosed[iPlayers[i]] = false;
}
}
i have to false the userchoosed to make it work once a round... but i want to let the player keeping the class even in the next round and only next round to be able to change his class! (only if he wants, he can keep the same class every round without having to choose every round)
edit: the main thing i want is that if i choose class1 with 200hp the next round i want to respawn with 200hp again (as my class) not default with 100
__________________