[Include] Anti flood + IP limits
#10

My onplayerconnect function looks like this....maybe with other textdraws and connect messages.
But it's not triggered because that thing doesn't fully connect like a normal player.
Check this topic, I posted my problem there and a guy posted a video with the exact thing that is happening to me (he posted 2 videos. The second video shows what is also happening to me)
I also posted there a pic with the rcon window of the server that shows the anomaly .
I see now that you posted there as well..
Код:
public OnPlayerConnect(playerid)




{
	GameTextForPlayer(playerid,"censored",5000,5);
	Pspawned[playerid] = 0;
	firstspawn[playerid]=1;
	GPSTimer[playerid] = 0;
	ClickedPlayerID[playerid] = -1;
    HaveGPS[playerid] = false;
	SendPlayerFormattedText(playerid, "Welcome to cenzoredt, for more please type /help and /tour", 0);
	SendClientMessage(playerid,0xB360FDFF,"Use /house to find information on our houses");
	SendClientMessage(playerid, COLOR_LIGHTBLUE,"Type /cmds for all commands (really)!");
	SendClientMessage(playerid, COLOR_ULTRARED,"Use /ro if you are romвn or /eng if you are English.");
	SendClientMessage(playerid, COLOR_YELLOW,"Type /teles to see teleportation on the server ");
	SendClientMessage(playerid, COLOR_ORANGERED,"If you need a vehicle type /V and if you want to tune cars write /tune");
	TextDrawShowForPlayer(playerid, Textdraw0);
	TextDrawShowForPlayer(playerid, Textdraw1);
	TextDrawShowForPlayer(playerid, Textdraw2);
	TextDrawShowForPlayer(playerid, Textdraw3);
	TogglePlayerControllable(playerid, false);
    TextDrawShowForPlayer(playerid, TheBoxy);
  	TextDrawShowForPlayer(playerid, Hin);
	TextDrawShowForPlayer(playerid, Weilcome);
	TextDrawShowForPlayer(playerid, thelp);
	TextDrawShowForPlayer(playerid, ttele);
	TextDrawShowForPlayer(playerid, trules);
	TextDrawShowForPlayer(playerid, byFarsek);
	TextDrawShowForPlayer(playerid, Commings);
	TextDrawShowForPlayer(playerid, Enjoyit);
	TextDrawShowForPlayer(playerid, tcmds);
	SetPlayerHealth(playerid,100);
	ResetPlayerWeapons(playerid);
	gActivePlayers[playerid]++;
	gLastGaveCash[playerid] = GetTickCount();
	GetPlayerName(playerid, pname, sizeof(pname));
    format(oyunism, sizeof(oyunism), "/Saver/%s.ini",pname);
    if(!dini_Exists(oyunism))
    {
    dini_Create(oyunism);
    dini_IntSet(oyunism, "Score", 0);
    dini_IntSet(oyunism, "Money", 0);
    SetPlayerScore(playerid, dini_Int(oyunism, "Score"));
    SetPlayerMoney(playerid, dini_Int(oyunism, "Money"));
    }
    else
    {
    SetPlayerScore(playerid, dini_Int(oyunism, "Score"));
    SetPlayerMoney(playerid, dini_Int(oyunism, "Money"));
    }
	return 1;
}
Reply


Messages In This Thread
Anti bot attack + IP limits - by Roperr - 27.02.2012, 14:26
Respuesta: Anti flood + IP limits - by Kurama - 27.02.2012, 16:31
Re: Anti flood + IP limits - by HeLiOn_PrImE - 27.02.2012, 16:34
Re: Anti flood + IP limits - by Roperr - 27.02.2012, 17:15
Re: Anti flood + IP limits - by Roperr - 27.02.2012, 17:51
Re: Anti flood + IP limits - by wups - 27.02.2012, 17:58
Re: Anti flood + IP limits - by Roperr - 27.02.2012, 18:03
Re: Anti flood + IP limits - by wups - 27.02.2012, 18:08
Re: Anti flood + IP limits - by Roperr - 27.02.2012, 18:16
Re: Anti flood + IP limits - by HeLiOn_PrImE - 27.02.2012, 18:28
Re: Anti flood + IP limits - by Roperr - 27.02.2012, 18:39
Re: Anti flood + IP limits - by HeLiOn_PrImE - 27.02.2012, 19:16
Re: Anti flood + IP limits - by Roperr - 27.02.2012, 19:43
Re: Anti flood + IP limits - by HeLiOn_PrImE - 27.02.2012, 20:19
Re: Anti flood + IP limits - by Roperr - 27.02.2012, 20:24
Respuesta: Anti flood + IP limits - by MrLevan - 28.02.2012, 08:07
Re: Anti flood + IP limits - by Batiol - 28.02.2012, 15:34
Re: Anti flood + IP limits - by Roperr - 29.02.2012, 14:37
Re: Anti flood + IP limits - by willzyyy - 29.02.2012, 16:43
Re: Anti flood + IP limits - by Roperr - 03.03.2012, 21:42
Re: Anti flood + IP limits - by Batiol - 06.05.2012, 07:28
Re: Anti flood + IP limits - by bashar0151 - 06.05.2012, 10:29
Re: Anti flood + IP limits - by Roperr - 06.05.2012, 10:40
Re: Anti flood + IP limits - by undeR. - 06.07.2012, 17:53
Re: Anti flood + IP limits - by $mooth - 07.07.2012, 01:34
Re: Anti flood + IP limits - by Roperr - 09.07.2012, 16:25
Re: Anti flood + IP limits - by Austain_Jake - 28.11.2012, 15:45
Re: Anti flood + IP limits - by matrix2 - 14.09.2013, 11:12
Re: Anti flood + IP limits - by Mark_Samp - 14.09.2013, 15:45
Re: Anti flood + IP limits - by Uberanwar - 09.10.2013, 11:14
Re: Anti flood + IP limits - by iFiras - 09.10.2013, 11:54
Re: Anti flood + IP limits - by amirm3hdi - 27.11.2016, 12:53

Forum Jump:


Users browsing this thread: 2 Guest(s)