Raised This Month: $ Target: $400
 0% 

Allow White Space prefix-postfix in Player Names


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cuttlas
Senior Member
Join Date: Jan 2015
Old 12-13-2023 , 15:01   Allow White Space prefix-postfix in Player Names
Reply With Quote #1

is there any way to allow white space prefix-postfix in player names?

for example: " Cuttlas", "Cuttlas ", " Cuttlas "
__________________
To Infinity n Beyond
Cuttlas is offline
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 12-13-2023 , 20:55   Re: Allow White Space prefix-postfix in Player Names
Reply With Quote #2

most likely no
__________________
bigdaddy424 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-13-2023 , 21:05   Re: Allow White Space prefix-postfix in Player Names
Reply With Quote #3

The client won't let you do it. Even if you could that would not be a good idea.
__________________
fysiks is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 12-14-2023 , 10:18   Re: Allow White Space prefix-postfix in Player Names
Reply With Quote #4

probably with tabs or unicode invisible characters
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
Cuttlas
Senior Member
Join Date: Jan 2015
Old 12-14-2023 , 14:38   Re: Allow White Space prefix-postfix in Player Names
Reply With Quote #5

Quote:
Originally Posted by georgik57 View Post
probably with tabs or unicode invisible characters
I did not find any

my goal is to use the same names for bots. for example, I need to name them all ROBOT.
but currently, it will rename them as (1)Robot and similar numbering naming!

So I decided to make them different with some white spaces.
__________________
To Infinity n Beyond

Last edited by Cuttlas; 12-14-2023 at 14:41.
Cuttlas is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-14-2023 , 23:54   Re: Allow White Space prefix-postfix in Player Names
Reply With Quote #6

Seems like an odd thing to do. Why would you need to name them all the same?
__________________
fysiks is offline
Cuttlas
Senior Member
Join Date: Jan 2015
Old 12-15-2023 , 08:26   Re: Allow White Space prefix-postfix in Player Names
Reply With Quote #7

Quote:
Originally Posted by fysiks View Post
Seems like an odd thing to do. Why would you need to name them all the same?
because they are not humans (bots, zombie bots, and so on) I do not prefer fake names like Bob, john, and so on.

It would be perfect If I name them the same thing who they are
__________________
To Infinity n Beyond
Cuttlas is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-15-2023 , 23:42   Re: Allow White Space prefix-postfix in Player Names
Reply With Quote #8

BOT1
BOT2
.
.
,
BOTx
__________________
fysiks is offline
101
Member
Join Date: Nov 2023
Old 12-16-2023 , 05:25   Re: Allow White Space prefix-postfix in Player Names
Reply With Quote #9

it would be better if their names was randomly generated (especially if they were Zombies) , it seems that they don't give a shit about names :

PHP Code:
#include <amxmodx>

new c_chars[20][] ={"Q","n","2","!","%"," ","5","X","j","f","e","7","t","z"," "," ","s","g","l","8"};


public 
plugin_init()
{
    
set_task(3.0,"Print_Test",100,_,_,"b");
}

public 
Print_Test()
{
    new 
PName[15];
    
    new 
=random_num(3,15);
    for (new 
=j<j++)
    {
        
format(PName,x,"%s%s",PName,c_chars[random(20)]);
    }
    
log_amx("Generated Name : %s",PName);


Last edited by 101; 12-16-2023 at 07:10.
101 is offline
Cuttlas
Senior Member
Join Date: Jan 2015
Old 12-17-2023 , 02:23   Re: Allow White Space prefix-postfix in Player Names
Reply With Quote #10

but I need the SAME name or the SAME name on view (with white spaces)
__________________
To Infinity n Beyond
Cuttlas is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode