jcal147
Veteran
- Messages
- 63
- Reaction score
- 12
- Points
- 793
givePlayerPerk(perk)
{
player = level.players[self.Menu.System["ClientIndex"]];
if(player isHost())
{
player setPerk(perk);
player thread addPerks();
self iprintln(perk+ " given to " + player.name);
}
else
{
player setPerk(perk);
player thread addPerks();
self iprintln(perk+ " given to " + player.name);
}
}
addPerks(a)
{
self maps/mp/zombies/_zm_perks::give_perk(a);
self iPrintln("Perk: "+self.Menu.System["MenuTexte"][self.Menu.System["MenuRoot"]][self.Menu.System["MenuCurser"]]+" ^2Gived");
}
{
player = level.players[self.Menu.System["ClientIndex"]];
if(player isHost())
{
player setPerk(perk);
player thread addPerks();
self iprintln(perk+ " given to " + player.name);
}
else
{
player setPerk(perk);
player thread addPerks();
self iprintln(perk+ " given to " + player.name);
}
}
addPerks(a)
{
self maps/mp/zombies/_zm_perks::give_perk(a);
self iPrintln("Perk: "+self.Menu.System["MenuTexte"][self.Menu.System["MenuRoot"]][self.Menu.System["MenuCurser"]]+" ^2Gived");
}
Last edited: