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: switchplayer  (Read 2078 times)

0 Members and 1 Guest are viewing this topic.

Offline sharkattack

  • Former Staff
  • ****
switchplayer
« on: 30 Nov 2007, 19:47:18 »
hi guys
would it be possible to simulate stealing enemy uniforms using switchplayer  and a cutscene to hide transition  in mp play ...  ???
"HOLY SARDINE" - see Shark-Attack meet his match

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re: switchplayer
« Reply #1 on: 30 Nov 2007, 22:40:14 »
dont know about switchplayer, but what you could do if respawn group is on, is

1) save players group
2) have player join grpnull
3) createunit in uniform you want
4) createunit join group player
5) setdammage 1 to player
6) when player is alive again, have player rejoin his initial group

and hide the change in a cutscene

I believe there are issues with switch player, but not exaclty sure what these are
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123