Is name connected (not ID)
#3

Oh perfect, I had to change it up a bit (because of error's and I also had it a bit backwards).

Here is the working version (for anyone who ever needs this):
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
            {
                if(IsPlayerConnected(i))
                {
                    new name[64];
                    GetPlayerName(i, name, sizeof(name))
                    if(strcmp(name, (inputtext), true))
                    {
                        return ShowPlayerDialog(playerid, 9130,DIALOG_STYLE_INPUT,"Name Lookup","Error: No record of this name exists!\nType a valid name that you would like to lookup.","Search","Cancel");
                    }
                }
            }
Thanks!

+1 Rep for the help
Reply


Messages In This Thread
Is name connected (not ID) - by jakejohnsonusa - 21.06.2013, 16:03
Respuesta: Is name connected (not ID) - by JustBored - 21.06.2013, 16:08
Re: Is name connected (not ID) - by jakejohnsonusa - 21.06.2013, 16:23

Forum Jump:


Users browsing this thread: 1 Guest(s)