GetPlayerMid
#1

PHP код:
stock GetPlayeridMid(name[]) //Boylett
{
    for (new 
0MAX_PLAYERSi++)
    {
        if (
IsPlayerConnected(i))
        {
            new 
gPlayerName[MAX_PLAYER_NAME];
            
GetPlayerName(igPlayerNameMAX_PLAYER_NAME);
            if(
strfind(gPlayerNamenametrue) != -1)
            {
                return 
i;
            }
       }
    }
    return 
INVALID_PLAYER_ID;

gives error undefined symbol GetPlayerMid, what gives?
PHP код:
    GetPlayerName(targetnamesizeof(name));
    new 
tname GetPlayerMid(name); 
Reply


Messages In This Thread
GetPlayerMid - by Kevinas100 - 11.01.2019, 14:27
Re: GetPlayerMid - by NoteND - 11.01.2019, 14:28
Re: GetPlayerMid - by Kevinas100 - 11.01.2019, 14:31
Re: GetPlayerMid - by NoteND - 11.01.2019, 14:43
Re: GetPlayerMid - by Pottus - 11.01.2019, 16:13
Re: GetPlayerMid - by Kevinas100 - 11.01.2019, 18:23
Re: GetPlayerMid - by codExpert - 11.01.2019, 18:53
Re: GetPlayerMid - by codExpert - 12.01.2019, 10:23

Forum Jump:


Users browsing this thread: 1 Guest(s)