Tag problem
#2

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.
    {
    if (PlayerInfo[playerid][pTag] != 1)
    {
      SendClientMessage(playerid, COLOR_LIGHTRED, "** You are not in [KG] clan. Result is kick from the server **");
      Kick(playerid);
      return 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)