NinjaWa 30 Report post Posted October 15, 2015 Try level waittill( "player_spawn", player ); Share this post Link to post Share on other sites
Rewbin 203 Report post Posted October 15, 2015 Also, is it self waittill("spawned_player"); or self waittill("spawn_player"); You can find these events like "death", "disconnect", "spawned" etc.. in the mod.ff or for stock cod4 you'd find them in the globallogic.gsc. Would assume its spawned instead of spawn then Share this post Link to post Share on other sites
NinjaWa 30 Report post Posted October 15, 2015 I have level waittill( "player_spawn", player ); in lots of scripts. Check if you forgot or put any ; that are needed or unneded. Check the whole script. Share this post Link to post Share on other sites
Krazi 0 Report post Posted October 16, 2015 I have level waittill( "player_spawn", player ); in lots of scripts. Check if you forgot or put any ; that are needed or unneded. Check the whole script. I've checked the whole think several times, and there's not mistakes in semi-colons. Share this post Link to post Share on other sites
NinjaWa 30 Report post Posted October 16, 2015 I will have time today, I will test it ok? And I will give you the code Share this post Link to post Share on other sites
Krazi 0 Report post Posted October 16, 2015 Okay. I just wanted to learn these things. lol Share this post Link to post Share on other sites
Lossy 1 Report post Posted October 16, 2015 Turn on developer to see script error also the endon shouldn't be a in loop and try adding a wait statement in the loop. Share this post Link to post Share on other sites
NinjaWa 30 Report post Posted October 16, 2015 Why would you add a wait there? It's unnecessary in my opinion as it will detect the weapons... but yeah try wait .1 Share this post Link to post Share on other sites
Krazi 0 Report post Posted October 18, 2015 Any success? Share this post Link to post Share on other sites
rampage199731 0 Report post Posted October 23, 2015 I have a server linux deathrun 1.7a and default 30 ranks of deathrun normal but when i give me xp like "100" my xp bar dont move but my level up then when the round finished i back level one i dont touch to hud.menu nothing i just compile with custom models no + Share this post Link to post Share on other sites
Fisher 101 Report post Posted October 23, 2015 Rampage you question is literally asking how to script. Find errors work them out that is one main quality a programmer needs. The dev files are for people who know how to program. Share this post Link to post Share on other sites
rampage199731 0 Report post Posted October 23, 2015 no is not this just i have my xpbar bugged idk why Share this post Link to post Share on other sites
Fisher 101 Report post Posted October 23, 2015 Because you played with script you dont understand..... Share this post Link to post Share on other sites
rampage199731 0 Report post Posted October 24, 2015 no i not play with script i just make mod with some custom models and xpbar bugg with the default one too Share this post Link to post Share on other sites
NinjaWa 30 Report post Posted October 24, 2015 No, I had that problem too. It's not anything about scripts, just get a non mp rip version of cod4, get the 6 gb one... Then add modtools, make ur mod, compile and everything should be okii Share this post Link to post Share on other sites
NinjaWa 30 Report post Posted October 24, 2015 Any success? TBH I didn't try... I don't really have time and what I have I spend it on playing Share this post Link to post Share on other sites
rampage199731 0 Report post Posted October 25, 2015 i will try thx a lot Share this post Link to post Share on other sites
Volarific 0 Report post Posted November 5, 2015 Don't think you should be helping others if you couldn't even spot the error in the original code, otherwise you'd probably just be creating more problems... Nonetheless I'm also willing to help people inside this thread. Share this post Link to post Share on other sites
Melktert 1 Report post Posted June 25, 2016 I know this topic is dead, but can someone help me disabling falldamage in deathrun? Share this post Link to post Share on other sites
Joey 130 Report post Posted June 25, 2016 31 minutes ago, Melktert said: I know this topic is dead, but can someone help me disabling falldamage in deathrun? It is there for a reason. Do not mess with the script. Share this post Link to post Share on other sites
Aquiz 872 Report post Posted June 25, 2016 Every server has installed falling damage in a different way. Usually its because of the map makers what they have put in. If you 'd like to edit the falling damage in a private server, you can use this command: bg_FallDamageMinHeight (number) (normal 128) bg_FallDamageMaxHeight (number) (normal 300) Share this post Link to post Share on other sites
Melktert 1 Report post Posted June 25, 2016 The commands doesn't work when I put it in the server.cfg, it's cheat protected. Only jump_slowdownenable 0 seems to work. Share this post Link to post Share on other sites
Fisher 101 Report post Posted June 25, 2016 (edited) If you wish to change fall damage. In a private server you do have to enable cheats. This can be done using the devmap command i believe which replaces the original map command. Not 100% if it still works and if it does not work try putting sv_cheats 1 after it. I'm not sure if its a still a feature with new versions of cod4. // You could always add it in the script. Edited June 25, 2016 by Fisher Share this post Link to post Share on other sites
Melktert 1 Report post Posted June 25, 2016 Could someone maybe make a deathrun plugin for me which disables this? I would really appreciate it. Share this post Link to post Share on other sites