How to detect my name
#1

Hello Every one , i was wondering how to make when i joined my server or my friend say Wb or kick or anything else
like this:
pawn Код:
public OnPlayerConnect(playerid)
{
    new pName[MAX_PLAYER_NAME],ppName[MAX_PLAYERS];
    ppName[playerid] = GetPlayerName(playerid,pName,sizeof(pName));
    if(ppName[playerid] == Hero )
    {
    Kick(playerid);
    }
    return 1;
}
Errors Show:
pawn Код:
error 017: undefined symbol "Hero"
Reply


Messages In This Thread
How to detect my name - by [D]ry[D]esert - 26.08.2012, 02:53
Re: How to detect my name - by Avi57 - 26.08.2012, 02:57
Re: How to detect my name - by leonardo1434 - 26.08.2012, 03:03
Re: How to detect my name - by [D]ry[D]esert - 26.08.2012, 03:05
Re: How to detect my name - by Akira297 - 26.08.2012, 03:06
Re: How to detect my name - by [D]ry[D]esert - 26.08.2012, 03:07

Forum Jump:


Users browsing this thread: 2 Guest(s)