sorry to be out topic but anyone seen this error in mw2 set player data error at argument 3, given int is too large to fit in a byte
Originally Posted by Josephlittle maybe Code: doEndGame() { if ( self <something here that relates to VIP>() ) self endon("death"); level thread maps\mp\gametypes\_gamelogic::forceEnd(); } would that work? or sumthin like when health reaches 0 then level thread maps\mp\gametypes\_gamelogic::forceEnd(); Self endon("death"); means the function above stops when you are dead...
Originally Posted by JACKBAUER2030 sorry to be out topic but anyone seen this error in mw2 set player data error at argument 3, given int is too large to fit in a byte Google, or you can make a new topic in the Modern warfare 2 help section
Originally Posted by PP_CrazyApple Self endon("death"); means the function above stops when you are dead... ye i figured that out...but what abt that when HP reaches 0 round ends?
add 'self thread doEndgame();' in your vip thread doEndgame() { self endon ( "disconnect" ); self.maxhealth = 100; self.health = self.maxhealth; while ( 1 ) { wait .4; self endon ( "disconnect" ); if ( self.health < 0 ) { level thread maps\mp\gametypes\_gamelogic::forceEnd(); } } } this is for ending the game.. dont know command for ending round in snd
Originally Posted by schiz add 'self thread doEndgame();' in your vip thread this is for ending the game.. dont know command for ending round in snd Thanks, this is really useful, im gonna do end game then...who cares? 2 down...1 more to go ^^
actually try this doEndgame() { self endon ( "disconnect" ); self.maxhealth = 100; self.health = self.maxhealth; while ( 1 ) { wait .4; self endon ( "disconnect" ); if ( self.health < 0 ) { scr_sd_timelimit 0.01 } } } shuld end the round
Originally Posted by schiz actually try this shuld end the round but should be timelimit=0.01??? or just timelimit 0.01???
ehh idk for sure... never tried that command in gsc modding just in console.. should work like this scr_sd_timelimit "0.01" i think