Why does this happen?
#1

Whenever a player dies or kills another player, the on screen death message that shows (playerid (pictureofweapon) playerid) is not always accurate.. It will say a player died if they were murdered, sometimes it will even show minigun, rocketlauncher, and satchel deaths even tho no one uses those weapons as they will be banned. How can I fix it so it is accurate 100% of the time? Thanks in advance this is a really annoying issue.
Reply
#2

What do you have under OnPlayerDeath?
Reply
#3

Some hacking machine cause fake kill on purpose..
Reply
#4

Quote:
Originally Posted by backwardsman97
What do you have under OnPlayerDeath?
I just have the stats to
Код:
SendDeathMessage(killerid, playerid, reason);
	GameTextForPlayer(playerid, "~r~Got Merked", 3000, 2);
	KillTimer(Player[playerid][TaxiTimer]);
	KillTimer(Player[playerid][HitTimer]);
	KillTimer(Player[playerid][JailCounter]);
  SetPlayerTime(playerid, worldHour, worldMinute);
  dUserSetINT(PlayerName(playerid)).("Bank",Player[playerid][Bank]);
  dUserSetINT(PlayerName(playerid)).("skin",GetPlayerSkin(playerid));
  dUserSetINT(PlayerName(playerid)).("Score",dUserINT(PlayerName(playerid)).("Score")-1);
	dUserSetINT(PlayerName(playerid)).("TimesDied",dUserINT(PlayerName(playerid)).("TimesDied")+1);
	dUserSetINT(PlayerName(playerid)).("PlayersKilled",dUserINT(PlayerName(playerid)).("PlayersKilled")+1);
	SetPlayerScore(playerid, dUserINT(PlayerName(playerid)).("Score"));
I thought having SendDeathMessage was automatic and the server did that part on it's own as in the reasons. How would an example be to code the reasons for the different weapons? Correct me if I am wrong, and I apologize if I am I just need to know what the issue is thanks in advance!
Reply
#5

Quote:
Originally Posted by notec100
Код:
GameTextForPlayer(playerid, "~r~Got Merked", 3000, 2);
Lol, that's some good shit .
Reply
#6

Quote:
Originally Posted by 2pacalypse
Quote:
Originally Posted by notec100
Код:
GameTextForPlayer(playerid, "~r~Got Merked", 3000, 2);
Lol, that's some good shit .
Lol thanks.

Anyone know how I can resolve this? Thanks
Reply
#7

Just like yezizhu said. People can spoof a fake kill with any weapon. It is actually quite easy to do it too.
Reply
#8

Quote:
Originally Posted by Kinetic
Just like yezizhu said. People can spoof a fake kill with any weapon. It is actually quite easy to do it too.
Really?

So 1 all you need then is SendDeathMessage(killer, victim, reason); Under OnPlayerDeath and it will automatically tell you the correct death message?

And 2, is there anyway to prevent the fake death message?

Thanks in advance!

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)