I got one error when making my filterscript
#5

Use my code.

pawn Код:
new pName[MAX_PLAYER_NAME]; // Creating a new variable to saving players name.
GetPlayerName(playerid, pName, sizeof(pName)); // GetPlayerName saves the players name of the player 'playerid' in this pName variable

if(!strcmp(pName, "lol", true)) // checking is the name of players lol or not.  true means ingorecase so, lOl isn't same as lol when you set it to false LOl is the same as lol
{
       // name is right. Do anything here
}
Reply


Messages In This Thread
I got one error when making my filterscript - by Private200 - 31.10.2012, 14:46
Re: I got one error when making my filterscript - by Azazelo - 31.10.2012, 14:50
AW: I got one error when making my filterscript - by Skimmer - 31.10.2012, 14:53
Re: I got one error when making my filterscript - by Private200 - 31.10.2012, 14:56
AW: I got one error when making my filterscript - by Skimmer - 31.10.2012, 15:06
Re: I got one error when making my filterscript - by Private200 - 31.10.2012, 15:07

Forum Jump:


Users browsing this thread: 2 Guest(s)