I can see at least two mistakes.

PHP Code:
 wait 0.01;
        
        if(
isDefined(name))
            
first_player_name name;
        else
            
first_player_name level.brakdanych
Firstly, wait 0.01 will be rounded upwards to 0.05 unless you have sv_fps set to 100.
Secondly, in CoD2 you have to define all variables outside if statements.

And you should really try some debugging