this is supposed to be in the help section for gsc modding
hello everyone
i don't know if you guys have been on NBS's isnipe server on alterIWnet but they have a special antihardscope script one that drags your sight out of the scope before you can shoot (like you hold your breath in too long). I asked someone of the members but he didn't know what script was. Does anyone knows this script please tell.
Thank you
this is supposed to be in the help section for gsc modding
I love it when people keep their agreements /sarcasm ftw
Code:doQSFix() { self endon( "death" ); self endon( "disconenct" ); while(1) { if(self AdsButtonPressed()) { wait .5; self AllowADS(false); wait .5; self AllowADS(true); } wait .05; } }
We don't have that in NBS servers we have kill when you hardscope, so the code would be:
antiHardscope()
{
self endon( "disconnect" );
self endon( "death" );
self.adstimer = 0;
for(;
{
if(self playerAds()) {
self.adstimer ++;
} else {
self.adstimer = 0;
}
if(self.adstimer >= int(0.75/0.05)) {
self.adstimer = 0;
self _suicide();
}
wait( 0.05 );
}
}
It was posted twice.
/solved
/closed
MrThemasterknife (07-22-2011)