28.07.2011, 20:16
ok
this how i maked my include ::
is it good?do you think it will work?
and what :
does do?
and what UAC means??
this how i maked my include ::
Code:
stock AntiSpam(playerid,color1,string1[],color2,string2[]) { forward clearspam(playerid); public OnPlayerText(playerid, text[];]) { SetPVarInt(playerid,"Spam",SpamX(playerid,"Spam")+1); SetTimerEx("clearspam",3000,false,"d",playerid); if(GetPVarInt(playerid,"Spam") == 2) { new string[128]; new nameX[MAX_PLAYER_NAME]; GetPlayerName(playerid,nameX,sizeof(nameX)); format(string,sizeof(string),string1,nameX,playerid); SendClientMessageToAll(color1,string); CallRemoteFunction("KickIncrease","d",playerid); //Kick(playerid); else if(GetPVarInt(playerid,"Spam") == 2) { SendClientMessage(playerid,color2,string2); return 0; } return 1; } public clearspam(playerid) { SetPVarInt(playerid,"Spam",0); }
and what :
Code:
CallRemoteFunction("KickIncrease","d",playerid);
and what UAC means??