11.08.2011, 20:00
Hi, This code is supposed to search the name for "[GC]" even when I have it in my name, It still says that it's not found...
Any help?
pawn Код:
new pname2[24];
GetPlayerName(playerid, pname2, sizeof(pname2));
new found = strfind("[GC]", pname2);
if(found != -1)
{
SendClientMessage(playerid, RED, "Found");
}
else
{
SendClientMessage(playerid, RED, "Not Found");
}