When player hit another player.
#1

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.
Reply
#2

What ?
Script request thread, GOD DAMMIT.
Reply
#3

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
Reply
#4

Yes i have use that,now,but how to do,when i hit somebody he follow me
Reply
#5

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...
Reply
#6

Just follow..Like Policeman hit to criminal,and then criminal,have follow police man,and nothing can do.
Reply
#7

If you hit somebody, then the victim is getting dragged ?
Reply
#8

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.
Reply
#9

Well, OnPlayerConnect is being redefined all the time...
Reply
#10

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)