Anti Team Punch
#1

~nvm, got it~
Reply
#2

why would you do that?
Reply
#3

Because i want it simply, why are you asking me that?
Reply
#4

so you only want that players in a team can't damage teammates, and there i would use https://sampwiki.blast.hk/wiki/SetPlayerTeam
Reply
#5

Use OnPlayerGive/TakeDamage, and if the reason is punching (0/1 I believe (fist/brass knuckles)) then TogglePlayerControllable to false, and toggle it to true again on a timer (SetTimerEx).
Reply
#6

~nvm, got it~
Reply
#7

Quote:
Originally Posted by Blackazur
Посмотреть сообщение
MP2, can you give me an example, please? thanks.
He just did. By "give me an example" you mean "please script it for me i don't know how to do it", right?
Reply
#8

~nvm, got it~
Reply
#9

Then start learning.
Reply
#10

~nvm, got it~
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)