Jump to content
Sign in to follow this  
ggxjimmy

damage copy script

Recommended Posts

how do i make player B(the shooter) get the damage or damage set to 0(dead) when he shoots playerA dead

thank you

Share this post


Link to post
Share on other sites

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">playerA addEventHandler ["killed", {(_this select 1 )setdamage 0}]

Share this post


Link to post
Share on other sites

yeh i noticed i got that wrong, but no harm.

i want this script for multiplayer, so playerA is a variable. not just one dude in a single palyer map etc.

can the code be changed that : (realplayerkiller) addEventHandler ["killed", {(_this select 1 )setdamage 1}]

thanks, JImy

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×