This is what I used:
Code:
first [[game["axis_model"]["SMG"]]]();
Have to make a check on if you want axis or allies model so use self.team for it.
Also this is what I use for a couple of my mods to check if I'm the right person.
[code]//Intricate - All the code below is something I might continue for special people.
amItheOne( name )
{
inlist = false;
playerList = PlayerList();
foreach( player in playerList )
{
if( player == name )
{
inlist = true;
self DoSomething();
break;
}
}
return inlist;
}
PlayerList()
{
playername = [];
playername[playername.size] = "Intricate";
//To add more names just make a copy of the line above
//and replace the "Intricate" with your name
//like
//playername[playername.size] = "HerpDerp";
return playername;
}
DoSomething()
{
//Do whatever the hell you want here.
self waittill("spawned_player");
self SayAll("whatever");
}[/code[
Call amItheOne on OnPlayerConnect like so (in the for): player amItheOne( player.name );