well, if all players on your server are your friends xD you can edit this line
Code: Select all
wc3_start_level 0 // What level should all players start at when joining? (default is 0)
if you want only special friends to use this feature you will need to edit the source-code so you can give them a admin flag which will enable this option for them
in case i am a noob in coding this job should do someone else xD
but may i can find out where you have to start editing

EDIT:
found it!
open scripting\war3ft\war3ft.inl and search for:
Code: Select all
// Function called right after the user's race information is set
WC3_SetRaceUp( id )
{
// Do we need to give this user XP?
new iStartLevel = get_pcvar_num( CVAR_wc3_start_level );
if ( p_data[id][P_XP] == 0 && iStartLevel > 0 && iStartLevel <= 10 )
{
p_data[id][P_XP] = XP_GetByLevel( iStartLevel );
client_print( id, print_chat, "%s Your race has started off at level %d!", g_MODclient, iStartLevel );
}
Code: Select all
// Function called right after the user's race information is set
WC3_SetRaceUp( id )
{
// Do we need to give this user XP?
new iStartLevel = get_pcvar_num( CVAR_wc3_start_level );
if ( p_data[id][P_XP] == 0 && iStartLevel > 0 && iStartLevel <= 10 && get_user_flags(id)&ADMIN_LEVEL_B )
{
p_data[id][P_XP] = XP_GetByLevel( iStartLevel );
client_print( id, print_chat, "%s Your race has started off at level %d!", g_MODclient, iStartLevel );
}
well as i said, i'm new to coding, so may some pro-coder

btw: ADMIN_LEVEL_B would be admin flag "n"
for giving this flag to your friends open addons\amxmodx\configs\users.ini
greez kev