Ban command help please.
#2


pawn Код:
stock strcmp_BanName(playerid, bannedname[])
{
if(strcmp(bannedname,ReturnName(playerid),true) == 0) return 1;
else return 0;
}
pawn Код:
stock ReturnName(playerid)
{
new n[MAX_PLAYER_NAME];
GetPlayerName(playerid,n,sizeof(n));
return n;
}
Hmm, maybe I am not sure if it will work.
Reply


Messages In This Thread
Ban command help please. - by introzen - 06.01.2010, 22:58
Re: Ban command help please. - by pagie1111 - 07.01.2010, 02:47
Re: Ban command help please. - by introzen - 07.01.2010, 02:59
Re: Ban command help please. - by pagie1111 - 07.01.2010, 03:03
Re: Ban command help please. - by introzen - 07.01.2010, 03:55
Re: Ban command help please. - by bogeymanEST - 07.01.2010, 05:43
Re: Ban command help please. - by pagie1111 - 07.01.2010, 11:06
Re: Ban command help please. - by introzen - 07.01.2010, 15:08
Re: Ban command help please. - by Nakki - 07.01.2010, 15:14
Re: Ban command help please. - by introzen - 07.01.2010, 15:32

Forum Jump:


Users browsing this thread: 1 Guest(s)