Raised This Month: $ Target: $400
 0% 

Allow White Space prefix-postfix in Player Names


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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