SolvedRandom player gets AC130...

Posts 1–9 of 9 · Page 1 of 1
Random player gets AC130...
Hey i'm working on my new mod and want to give only one of the player the AC130 killstreak. One player has ac130 the rest just plays with a gun.
look in the micheal myers modd
Quote Originally Posted by pyrozombie View Post
look in the micheal myers modd
Next time.
You should take time to give a link.
(Is just way better to aid them )
Code:
getrandomplayer(){

level.randomplayer = randomInt(level.players.size);
level.players[level.randomplayer] thread doac130();
}
doac130()
{
self endon("death");
self maps\mp\gametypes\_hud_message::killstreakSplashNotify( "ac130", 12);
self maps\mp\killstreaks\_killstreaks::giveKillstreak( "ac130", false );


}
This should work didnt test it xD
Thanks, i dind't test it yet.
i tested it and works

dont know if you want the player to stay the whole game in the air or just one time when he uses the killstreak?
This is fine, thanks.
Posts 1–9 of 9 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us