How to make a [BOT] name tag?
#6

I made this function:
pawn Код:
stock SetNPCTag() // by: Admantis
{
    new sz_Name[24], sz_NewName[31];
    sz_NewName = "[BOT]";
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if (!IsPlayerNPC(i))
            continue;
           
        GetPlayerName(i, sz_Name, 24);
        strins(sz_NewName, sz_Name, 25);
        SetPlayerName(i, sz_NewName);
    }
   
    return sz_NewName; // This function returns the name with [BOT] tag
}
Reply


Messages In This Thread
How to make a [BOT] name tag? - by grand.Theft.Otto - 13.02.2011, 08:49
Re: How to make a [BOT] name tag? - by HyperZ - 13.02.2011, 09:18
Re: How to make a [BOT] name tag? - by AlternativeDC - 23.05.2011, 19:49
Re: How to make a [BOT] name tag? - by Vince - 23.05.2011, 20:11
Re: How to make a [BOT] name tag? - by CrazyBlob - 23.05.2011, 23:24
Respuesta: How to make a [BOT] name tag? - by admantis - 24.05.2011, 00:50
Re: How to make a [BOT] name tag? - by [MG]Dimi - 24.05.2011, 08:55

Forum Jump:


Users browsing this thread: 1 Guest(s)