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: Just small questions?  (Read 10591 times)

0 Members and 1 Guest are viewing this topic.

Offline GW

  • ofp cadet
  • Members
  • *
  • The great Himalaya
Re: Just small questions?
« Reply #30 on: 21 Apr 2011, 21:44:06 »
@walter

i try this

make a sqs file of name  deaddude.sqs


than copy all this inside the fall

Quote
_corpse = _this select 0

~120    <--- time in seconds that corpses are set to remain

@player distance _corpse > 300   <--- distance in metres player has to be away for body to be removed

deleteVehicle _corpse

exit

as you said ,i put this script under officer

for a group:
morituri = group this; {_x addEventHandler ["killed", {_this exec "deaddude.sqs"}]} forEach units morituri



but its showing error still


i do remove all things you said

than its look like

Quote
Code:

_corpse = _this select 0

~120   

@player distance _corpse > 300   

deleteVehicle _corpse

exit
but its not working :no:
Be happy.
ofp die-hard fan for whole life