Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: detect a new name instead of player1  (Read 639 times)

0 Members and 1 Guest are viewing this topic.

Charlotte

  • Guest
detect a new name instead of player1
« on: 03 Jul 2003, 16:29:12 »
hi,
In a multiplayer game i have got 3 soldier and 1 civilian, I have wrote the script to use individual radios and to find out the distance between the civilian and the players.. My question is that if the soldier wants to change their name from player1, player2 and player3 to Cobra, Coral and Python before starting the game, how can i make the scripts to detect who is player1, 2 and 3.
Is there any command that can read the name given to the soldier and automatically put it instead of player1 to the name given.

Thanks before hand for your help :)