20.10.2011, 06:54
You are missing one things
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(strfind(result, NameTagInfo[playerid][nFirstName], true) != -1 || strfind(result, NameTagInfo[playerid][nLastName], true) != -1)
{
if(IsPlayerNearPlayer(i, playerid, 5))
{
if(NameTagInfo[i][nFriend1] == 0 && i != playerid)
{
SendClientMessage(i, COLOR_YELLOW, "It Worked");
return 1;
}
}// this
}
}