anti weapon
#6

Quote:
Originally Posted by TeddyBear
Quote:
Originally Posted by Pandabeer1337
wth do you mean with fakekill than you ^T#%^#%^@#$%@#$ >.<
Fakekill is used with <censored>, try @ onplayerdeath, check the persons health to see if they did die.
Exactly.

There is a cheat program which can fake deaths, and make your script think that players are killing each other with dis-allowed weapons e.g. minigun, which may get innocent players punished.

pawn Код:
OnPlayerDeath(playerid, killerid, reason)
{
  new Float:playerhp;
  GetPlayerHealth(playerid, playerhp);
  if (playerhp < 0.01)
  {
    // add your kill code here
  }
  return 1;
}
Reply


Messages In This Thread
anti weapon - by Schock - 10.02.2009, 13:54
Re: anti weapon - by Think - 10.02.2009, 14:34
Re: anti weapon - by Schock - 10.02.2009, 18:24
Re: anti weapon - by Think - 10.02.2009, 19:37
Re: anti weapon - by Nimphious - 10.02.2009, 20:52
Re: anti weapon - by 1337pr0 - 11.02.2009, 04:08
Re: anti weapon - by Schock - 14.02.2009, 15:32
Re: anti weapon - by Schock - 14.02.2009, 22:07
Re: anti weapon - by c-middia - 14.02.2009, 22:47
Re: anti weapon - by 1337pr0 - 16.02.2009, 06:53
Re: anti weapon - by Schock - 16.02.2009, 17:00
Re: anti weapon - by 1337pr0 - 16.02.2009, 18:37
Re: anti weapon - by whooper - 16.02.2009, 19:10

Forum Jump:


Users browsing this thread: 1 Guest(s)