Force and stay pronei'm asking any modder to help me and make it so when you spawn youre prone and stay prone (ive tried many things looked at mods but cant find it
Not tested: [php] onPlayerSpawned() { self endon("disconnect"); for(; { self waittill("spawned_player"); self SetStance( "prone" ); } } [/php]
Originally Posted by spiritwo Not tested: [php] onPlayerSpawned() { self endon("disconnect"); for(; { self waittill("spawned_player"); self SetStance( "prone" ); } } [/php] you can still get up after the code ran i think you might have to loop it(not sher but it sounds good to me)
If this doesnt work: [php] onPlayerSpawned() { self endon("disconnect"); for(; { self waittill("spawned_player"); self SetStance( "prone" ); } } [/php] Then try this: [php] onPlayerSpawned() { self endon("disconnect"); for(; { self waittill("spawned_player"); while(1) { self SetStance( "prone" ); } } } [/php]
A loop in a loop.. won't work and lag... Code: antiStand() { while(1) { self SetStance( "prone" ); wait 0.7 } }