Scripta koju koristim: moja
Detaljan opis problema: Kako da sredim da nemogu da rade FakeKill bio sam svasta ubacivao oko toga ali nista nije pomoglo.
Deo scripte:
FakeKill
368
pregleda
8
postova
OG Legend
Novi Član
246 / 250 XP
🌱Početnik(0)
2,678
Postovi:
133
Teme:
Pridružio se:Maj 2012
12. Jan. 2013.
OG Legend
Novi Član
246 / 250 XP
🌱Početnik(0)
2,678
Postovi:
133
Teme:
Pridružio se:Maj 2012
13. Jan. 2013.
Nepomaze ni to brt o5 mogu da daju znaci nez vise sta raditi 10 tih fakekillo-a sam promeno i nista nepomaze
30. Dec. 2013.
Ova metoda je jako funkcionalna, igrac pokrene fakekill ali se nista nedesava:
#include
// Delay until a connection would be ignored
#define FAKEKILL_DELAY 10000
// Number of times within the connection delay to constitute an attack
#define FAKEKILL_LIMIT 10
// Connection info
enum FAKEKILLINFO
{
DeathCount,
LastDeathTime,
}
static FakekillData;
hook OnPlayerDeath(playerid, killerid, reason)
{
if(!IsPlayerNPC(playerid))
{
if(GetTickCount() - FakekillData < FAKEKILL_DELAY)
{
FakekillData++;
if(FakekillData == FAKEKILL_LIMIT) ProcessHack(playerid, INVALID_PLAYER_ID, PATCH_ANTIFAKEKILL);
}
else FakekillData = 1;
FakekillData = GetTickCount();
}
return 1;
}
hook OnPlayerDisconnect(playerid, reason)
{
FakekillData = 0;
FakekillData = 0;
return 1;
}Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava