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: getting a variable assigned to a player in a script  (Read 5763 times)

0 Members and 1 Guest are viewing this topic.

Mr.Pibb

  • Guest
Re:getting a variable assigned to a player in a script
« Reply #15 on: 12 Dec 2004, 17:51:11 »
I quickly unsolved, put this in, and re-solved this topic due to an error in the final script - CrashDome and Planck both corrected me on this, so here is the proper form, only the publicvariable "shooterplayer" has been moved



_shooter = _this select 1
_shot = _this select 0
shooterplayer = objNull

?(_shooter == player):shooterplayer = player
publicvariable "shooterplayer"

Exit