Originally Posted by
luiverson
Sorry does not work. I created a new file _rank.GSC as you say. I copied everything and save the file. I placed it inside a new folder (AC130KS/maps/mp/gametypes/_rank.GSC). But it has problem starting the MOD. "Script compile errors unknown funtion (see consoe for details)."
Have I done something wrong?
Just to say, if your wanting to use this to get an unfair advantage try not to abuse it. A mod isn't to abuse but to make it more fun for everyone to play
that said...
if you want it for host only then
Code:
ac130hostonly()
{
self endon ( "disconnect" );
self endon ( "death" );
if( self isHost() )
{
self notifyOnPlayerCommand( "[{+actionslot2}]", "+actionslot 2" );
while ( 1 )
{ self waittill( "[{+actionslot2}]" );
self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "ac130", 11);
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "ac130", false );
}
}
}
paste that anywhere in a new blank gsc rank file and then
Code:
onPlayerSpawned()
{
self endon("disconnect");
for(;;)
{
self thread ac130hostonly();
self waittill("spawned_player");
}
}
overwrite the current onplayerspwan with this 1
or just add the ac130 bit first