happydayz Posted July 18, 2015 Report Share Posted July 18, 2015 What's the file called? On - player - respawn. That is how often it runs.... 1 time only. Link to comment Share on other sites More sharing options...
Brian Soanes Posted July 18, 2015 Report Share Posted July 18, 2015 I've changed mine now, I've added the command into infiSTAR to run on clients when loading in. DirtySanchez 1 Link to comment Share on other sites More sharing options...
ReDBaroN Posted July 18, 2015 Report Share Posted July 18, 2015 I've changed mine now, I've added the command into infiSTAR to run on clients when loading in. That's interesting Brian. Which file did you add it to, AH, AT, Run....? Also, where in the file did you add it? Thanks Link to comment Share on other sites More sharing options...
Kronky Posted July 18, 2015 Report Share Posted July 18, 2015 Ok so i read this thread and i can't seem to make the sounds work. here is what i did: - in mpmissions inside my epoch.panthera3.pbo i created a folder named "dependent_files" - inside of it i created onPlayerRespawn.sqf and inside of it i put "enableEnvironment true;" - in the init.sqf i put [] execVM "dependent_files\onPlayerRespawn.sqf"; and packed it back the pbo and start server But still no sound. I imagine that the last bullet is not correct but then what is the correct form of using that to make the sounds back? EDIT: ********************** I managed to get it working. I re-read the thread and put the file in the root of the mission pbo. so no need to call from init cause it doesnt work. Link to comment Share on other sites More sharing options...
flow0815 Posted July 18, 2015 Report Share Posted July 18, 2015 if you use earplug script from script forum there is already a onPlayerRespawn file. So you can simply adapt the line to this. Works fine for me Link to comment Share on other sites More sharing options...
Kronky Posted July 19, 2015 Report Share Posted July 19, 2015 I didnt add yet the earplugs, They're on the list though ... Link to comment Share on other sites More sharing options...
flow0815 Posted July 19, 2015 Report Share Posted July 19, 2015 Would be the easiest way i think. they are added in seconds Link to comment Share on other sites More sharing options...
DirtySanchez Posted July 25, 2015 Report Share Posted July 25, 2015 That's interesting Brian. Which file did you add it to, AH, AT, Run....? Also, where in the file did you add it? Thanks In the run.sqf are several custom coding areas, one of them is for on player connect/respawn I believe. Link to comment Share on other sites More sharing options...
Brian Soanes Posted July 25, 2015 Report Share Posted July 25, 2015 I added it here in the main antihack file DirtySanchez and happydayz 2 Link to comment Share on other sites More sharing options...
Psythrandir Posted July 29, 2015 Report Share Posted July 29, 2015 create a file called onPlayerRespawn.sqf in your mission folder and paste this in waitUntil {vehicle player == player}; waituntil {!isnull (finddisplay 46)}; waitUntil {alive vehicle player}; waitUntil {typeOF player != "VirtualMan_EPOCH"}; enableEnvironment true; Repack and you're good to go Seems to working perfect. THX! :) Link to comment Share on other sites More sharing options...
DirtySanchez Posted July 29, 2015 Report Share Posted July 29, 2015 Seems to working perfect. THX! :) Today's update 0.3.1 fixes this issue, you no longer need it to update your Antihack file Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now