When player hit another player. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: When player hit another player. (
/showthread.php?tid=276808)
When player hit another player. -
budelis - 15.08.2011
Hi all.I need some help now.I want to do when somebody hit somebody with this gun ID: 3,then player have follow that player who hit him.That is imposible?if yes please do it.
Re: When player hit another player. -
Darnell - 15.08.2011
What ?
Script request thread,
GOD DAMMIT.
Re: When player hit another player. -
Hiddos - 15.08.2011
I dunno what you mean by following that player, but you could use the OnPlayerShootPlayer include to find out when somebody hits someone else.
https://sampforum.blast.hk/showthread.php?tid=195439
Re: When player hit another player. -
budelis - 15.08.2011
Yes i have use that,now,but how to do,when i hit somebody he follow me
Re: When player hit another player. -
Darnell - 15.08.2011
Quote:
Originally Posted by budelis
Yes i have use that,now,but how to do,when i hit somebody he follow me
|
He follow me ?
What does that even mean...
Re: When player hit another player. -
budelis - 15.08.2011
Just follow..Like Policeman hit to criminal,and then criminal,have follow police man,and nothing can do.
Re: When player hit another player. -
Darnell - 15.08.2011
If you hit somebody, then the victim is getting dragged ?
Re: When player hit another player. -
budelis - 15.08.2011
Yes,but now problem when i add OnPlayerShootPlayer include i get warning:
C:\Documents and Settings\Owner\Desktop\NAUJAUSIAS SAMP SERVERIS\pawno\include\damage.inc(229) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
Re: When player hit another player. -
Darnell - 15.08.2011
Well, OnPlayerConnect is being redefined all the time...
AW: Re: When player hit another player. -
Nero_3D - 15.08.2011
Quote:
Originally Posted by budelis
C:\Documents and Settings\Owner\Desktop\NAUJAUSIAS SAMP SERVERIS\pawno\include\damage.inc(229) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
|
Look at the path its the damage.inc which case the warning
Just go to the topic of that include and tell him that he should take a look in the
Advanced Library System thread