heeeelp
#7

pawn Код:
if(P_Data[playerid][pSpam] == 5)
{
    new string[128];
    format(string,sizeof(string), "SERVER: Player %s has been kicked for spamming.",GetName(playerid));
    SCMToAll(COLOR_RED,string);
    Kick(playerid);
    return 1;
}
Just made a few adjustments. See if it'll work.

EDIT: Also, make sure your "GetName" stock is proper.
pawn Код:
stock GetName(playerid)
{
    new szName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, szName, sizeof(szName));
    return szName;
}
Reply


Messages In This Thread
heeeelp - by Extraordinariness - 01.03.2014, 07:48
Re: heeeelp - by rangerxxll - 01.03.2014, 07:49
Re: heeeelp - by Extraordinariness - 01.03.2014, 07:53
Re: heeeelp - by rangerxxll - 01.03.2014, 07:56
Re: heeeelp - by Extraordinariness - 01.03.2014, 07:59
Re: heeeelp - by ikbenremco - 01.03.2014, 08:00
Re: heeeelp - by rangerxxll - 01.03.2014, 08:02
Re: heeeelp - by Extraordinariness - 01.03.2014, 08:03
Re: heeeelp - by rakshith122 - 01.03.2014, 08:05
Re: heeeelp - by Extraordinariness - 01.03.2014, 08:05

Forum Jump:


Users browsing this thread: 1 Guest(s)