Jump to content
  • 0

Problema cu Spam-ul


ruben88

Question

9 answers to this question

Recommended Posts

Eu nu am fs cu antispam e ceva prin Gm..cred ca e ceva cu asta

public OnPlayerText(playerid,text[])
{


	SpamStrings[playerid] ++;
	if(SpamStrings[playerid] >= MAX_SPAM)
	{
	    new PlayerName[MAX_PLAYER_NAME];
		GetPlayerName(playerid, PlayerName, MAX_PLAYER_NAME);
		printf("(mesajul anterior al lui %s a fost blocat de antispam)", PlayerName);
		SendClientMessage(playerid,0xCC0000AA,"Asteapta 20 de secunde ca sa vorbesti din nou(protectia anti-spam).");
		return 0;
	}
    new textstring[128];
    format(textstring, sizeof(textstring), "[%i] %s", playerid, text);
    SendPlayerMessageToAll(playerid, textstring);
	return 0;
}

Link to comment
Share on other sites

Lam sters dupa ami da erruare

C:\Documents and Settings\PC\Desktop\Server STR\pawno\include\Seifader.inc(98) : error 004: function "OnPlayerScreenFade" is not implemented
C:\Documents and Settings\PC\Desktop\Server STR\pawno\include\Seifader.inc(114) : error 004: function "OnPlayerScreenColorFade" is not implemented
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2139) : error 029: invalid expression, assumed zero
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2139) : error 004: function "MinSpam" is not implemented
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2149) : error 029: invalid expression, assumed zero
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2149) : error 004: function "OnPlayerKeyStateChange" is not implemented
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2154) : error 017: undefined symbol "newkeys"
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2159) : error 017: undefined symbol "GetVehicleWithinDistance"
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2160) : error 017: undefined symbol "IsVehicleRcTram"
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2161) : error 017: undefined symbol "IsVehicleRcTram"
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2167) : error 017: undefined symbol "newkeys"
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2169) : error 017: undefined symbol "IsNosVehicle"
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2172) : error 017: undefined symbol "newkeys"
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2182) : warning 225: unreachable code
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2182) : error 029: invalid expression, assumed zero
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2182) : error 004: function "OnPlayerEnterCheckpoint" is not implemented
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2224) : warning 225: unreachable code
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2224) : error 029: invalid expression, assumed zero
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2224) : error 004: function "OnDialogResponse" is not implemented
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2226) : error 017: undefined symbol "dialogid"
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2228) : error 017: undefined symbol "response"
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2230) : error 017: undefined symbol "listitem"
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2238) : error 017: undefined symbol "SendBuyed"
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2246) : error 017: undefined symbol "SendBuyed"
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2254) : error 017: undefined symbol "SendBuyed"
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2262) : error 017: undefined symbol "SendBuyed"
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2270) : error 017: undefined symbol "SendBuyed"
C:\Documents and Settings\PC\Desktop\Server STR\gamemodes\STR.pwn(2278) : error 017: undefined symbol "SendBuyed"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

Muahahaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.