*** Terrible Title Removed
#1

Hi all SA-MP Gamers, today i got a problem with This Code

This Code Must Kick Those who are Fake Clan member

like some one came in my server with server clan and that person is not accepted to join the clan so it should ban him

sorry for my bad english

this is the code i use

Код:
public OnPlayerConnect(playerid)
{
   new ClanCheck[50]; format(ClanCheck,50,"[Dr]%s",PlayerName(playerid));
   if(!strcmp(ClanCheck,PlayerName(playerid),true)) {
      if(!fexist(File) || fexist(File) && dini_Int(File,"Member") != 1) {
         format(Message,128,"%s Has Been Kicked From Server [Reason: Fake Clan Member]",PlayerName(playerid));
	 SendClientMessageToAll(COLOR_RED,Message);
	 Kick(playerid);
       }
    }
    return 1;
}
i understand wat is the problem but im not that much good scripter :P

Any one help

Код:
if(Helped && Worked return Rep1);
Reply


Messages In This Thread
*** Terrible Title Removed - by dr.lozer - 25.10.2012, 08:08
Re: [Dr.Lozer] Need Help Please! - by Riddick94 - 25.10.2012, 09:44
Re: *** Terrible Title Removed - by dr.lozer - 25.10.2012, 10:42

Forum Jump:


Users browsing this thread: 2 Guest(s)