- Posts: 1118
- Thank you received: 370
@HiGuy : Please trim Multiplayer Team Names
- Aayrl
- Topic Author
- Offline
- Administrator
- Big Deal!
13 Jun 2014 21:55 #1
Aayrl
Administrator
The following user(s) said Thank You: Jeff
Please Log in or Create an account to join the conversation.
- Jeff
- Offline
- Elite Marbler
- PlatinumQuest Programmer
- Posts: 1680
- Thank you received: 205
13 Jun 2014 21:58 - 13 Jun 2014 21:59 #2
I am a programmer. Most here know me for being one of the major contributors to Marble Blast Platinum and PlatinumQuest.
Jeff
Elite Marbler
suggested fix:
Code:
$MaxTeamNameChars = 15;
function Team::trimName(%name) {
%len = strlen(%name);
if (%len > $MaxTeamNameChars)
%name = getSubStr(%name, 0, $MaxTeamNameChars - 3) @ "...";
return %name;
}
I am a programmer. Most here know me for being one of the major contributors to Marble Blast Platinum and PlatinumQuest.
Last edit: 13 Jun 2014 21:59 by Jeff.
Please Log in or Create an account to join the conversation.
- HiGuy
- Offline
- Lead Developer
- PQ Developer Emeritus
14 Jun 2014 02:25 #3
This signature is real code
HiGuy
Lead Developer
I... I... I'm afraid to ask...
Noted, thanks
Noted, thanks
This signature is real code
Code:
function clientcmd12dothepq() {
commandToClient(LocalClientConnection, '34onthedancefloor');
}
The following user(s) said Thank You: Aayrl, Jeff
Please Log in or Create an account to join the conversation.
Moderators: Doomblah
Time to create page: 1.512 seconds