Tag problem
#3

Quote:
Originally Posted by IceBilizard
Посмотреть сообщение
pawn Код:
new name[24]; // Makes a new string for the name
    GetPlayerName(playerid,name,sizeof(name)); // Assigns it to the name
    if(strfind(name,"[KZ]",true) != -1) // The != is if it was found.
    {
      SendClientMessage(playerid, COLOR_LIGHTRED, "** You are not in [KG] clan. Result is kick from the server **");
    Kick(playerid);
    return 1;
    }
    }
but i am in KZ clan dude, and see in,
pawn Код:
if (PlayerInfo[playerid][pTag] == 0)
if the value is 0 only it kicks, but my stats is in database is Tag = 1
Reply


Messages In This Thread
Tag problem - by DetoNater - 30.05.2013, 09:36
Re: Tag problem - by IceBilizard - 30.05.2013, 09:43
Re: Tag problem - by DetoNater - 30.05.2013, 09:48
Re: Tag problem - by IceBilizard - 30.05.2013, 09:49
Re: Tag problem - by DetoNater - 30.05.2013, 10:06
Re: Tag problem - by IceBilizard - 30.05.2013, 10:11
Re: Tag problem - by DetoNater - 30.05.2013, 11:38
Re: Tag problem - by GiamPy. - 30.05.2013, 11:44
Re: Tag problem - by IceBilizard - 30.05.2013, 11:58
Re: Tag problem - by DetoNater - 30.05.2013, 14:43

Forum Jump:


Users browsing this thread: 1 Guest(s)