25.10.2012, 08:08
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
i understand wat is the problem but im not that much good scripter :P
Any one help
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; }
Any one help
Код:
if(Helped && Worked return Rep1);