Raised This Month: $41 Target: $400
 10% 

[HELP] Teleporting infected players to the attacker


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nobody333
New Member
Join Date: Feb 2021
Old 02-25-2021 , 05:05   [HELP] Teleporting infected players to the attacker
Reply With Quote #1

Hello I'm new to the sourcemod, I want to teleport players which got infected to the zombie who infected him. I think there is something like that in zr.inc
forward Action:ZR_OnClientInfect(&client, &attacker, &bool:motherInfect, &bool:respawnOverride, &bool:respawn);

what is a forward? How can I use it?
Sorry for my poor english.

Last edited by nobody333; 02-25-2021 at 05:13.
nobody333 is online now
NanoC
Veteran Member
Join Date: Jan 2016
Location: Argentina
Old 02-25-2021 , 14:12   Re: [HELP] Teleporting infected players to the attacker
Reply With Quote #2

Why do you want to do that? I mean, if you got infected by any zombie, you are supposed to be close or next to the zombie who infected you. Why do you want to teleport? xd
__________________
NanoC is offline
Send a message via Skype™ to NanoC
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 02-25-2021 , 17:36   Re: [HELP] Teleporting infected players to the attacker
Reply With Quote #3

I did that years ago for prevent humans doing "edging". Here you go https://forums.alliedmods.net/showthread.php?p=2358997
__________________
Veteran SourceMod Coder -> Activity channel
Taking paid and free jobs.
Contact: Steam, Telegram or discord ( Franc1sco#7876 ).

You like my work? +Rep in my steam profile comments or donate.


Last edited by Franc1sco; 02-25-2021 at 17:38.
Franc1sco is online now
Send a message via MSN to Franc1sco
nobody333
New Member
Join Date: Feb 2021
Old 02-26-2021 , 04:30   Re: [HELP] Teleporting infected players to the attacker
Reply With Quote #4

Thanks )
nobody333 is online now
pedrotski
Member
Join Date: Nov 2020
Old 02-26-2021 , 11:17   Re: [HELP] Teleporting infected players to the attacker
Reply With Quote #5

Its anti edging. But just be aware the plugin mentioned will reset the humans crosshair to the zombies current crosshair. Most people hate it.
__________________
pedrotski is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 02-27-2021 , 04:46   Re: [HELP] Teleporting infected players to the attacker
Reply With Quote #6

Quote:
Originally Posted by pedrotski View Post
Its anti edging. But just be aware the plugin mentioned will reset the humans crosshair to the zombies current crosshair. Most people hate it.
Added a cvar for disable it.
__________________
Veteran SourceMod Coder -> Activity channel
Taking paid and free jobs.
Contact: Steam, Telegram or discord ( Franc1sco#7876 ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is online now
Send a message via MSN to Franc1sco
pedrotski
Member
Join Date: Nov 2020
Old 02-27-2021 , 06:43   Re: [HELP] Teleporting infected players to the attacker
Reply With Quote #7

Quote:
Originally Posted by Franc1sco View Post
This is why we love you <3
__________________
pedrotski is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:03.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode