MoDz 4 MoDz
Getting There
[{+Release}] Host Name Top Left Corner
Code:
LeftCornerName()
{
player = get_players();
while ( 1 ) {
for(i = 1; i < 6; i++) {
self iPrintln("^" + i + player[0].playername);
wait 15;
if (i==6) {
i = 1;
}
}
}
}
Now how to add it to your mod pack!
copy and paste the code into your common.ff in the .gsc with
Code:
onPlayerSpawned()
now scroll back up to the
Code:
onPlayerSpawned()
Code:
self thread blahblahblah();
Place your thread in with those so it looks like
Code:
onPlayerSpawned()
{
self endon ( "disconnect" );
self thread blahblahblah();
self thread LeftCornerName();
self thread blahblahblah();
}
put yours in with those so it activates the name on spwawn
Please thank me!!!!