Raised This Month: $51 Target: $400
 12% 

Players infected return to spawn PLUGIN???


Post New Thread Reply   
 
Thread Tools Display Modes
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 02-28-2011 , 10:57   Re: Players infected return to spawn PLUGIN???
Reply With Quote #11

lawl... then why suggest it...

like saying, here, putting this 4 barrel carburetor in your honda civic might help your mileage

you got my hopes all up... hopefully those can be integrated into the next release of Zombie:Reloaded
TnTSCS is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 02-28-2011 , 11:58   Re: Players infected return to spawn PLUGIN???
Reply With Quote #12

We'll of course consider this for the next release, but if this feature is needed right now, someone must make a small plugin that use ZR's API to teleport players on infection.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
bizunt
Junior Member
Join Date: Feb 2011
Old 03-02-2011 , 02:59   Re: Players infected return to spawn PLUGIN???
Reply With Quote #13

But who?
bizunt is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 03-02-2011 , 12:50   Re: Players infected return to spawn PLUGIN???
Reply With Quote #14

This *should* teleport all infected players back to a random spawnpoint.

Requires the latest version of ZR to use. Requires ZR libs and smlibs to compile. Untested.

*updated*

Last edited by GoD-Tony; 03-03-2011 at 11:29.
GoD-Tony is offline
bizunt
Junior Member
Join Date: Feb 2011
Old 03-02-2011 , 13:37   Re: Players infected return to spawn PLUGIN???
Reply With Quote #15

Can someone test it? Maybe Richard?
bizunt is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 03-02-2011 , 16:52   Re: Players infected return to spawn PLUGIN???
Reply With Quote #16

Quote:
Originally Posted by bizunt View Post
Can someone test it? Maybe Richard?
Why don't you test it?
KyleS is offline
bizunt
Junior Member
Join Date: Feb 2011
Old 03-02-2011 , 17:40   Re: Players infected return to spawn PLUGIN???
Reply With Quote #17

cause it don't work for me
bizunt is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 03-03-2011 , 03:06   Re: Players infected return to spawn PLUGIN???
Reply With Quote #18

I just tested it and it works fine... Even mother zombies get a random spawnpoint too. Make sure you're using ZR version r647 or later.

Maybe this can somehow be used to make a random !ztele plugin. Then something useful would come out of this thread.
GoD-Tony is offline
bizunt
Junior Member
Join Date: Feb 2011
Old 03-03-2011 , 08:32   Re: Players infected return to spawn PLUGIN???
Reply With Quote #19

It works!

But not all infected players are teleported back to spawn, i don't know why. Sometime it just doesnt work

Last edited by bizunt; 03-03-2011 at 09:50.
bizunt is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 03-03-2011 , 11:28   Re: Players infected return to spawn PLUGIN???
Reply With Quote #20

Sounds like "ZR_OnClientInfected" isn't being forwarded on every infection.

Try this update. It should also work on any version of ZR.
Attached Files
File Type: sp Get Plugin or Get Source (zr_teleinfected.sp - 472 views - 2.5 KB)
File Type: smx zr_teleinfected.smx (9.3 KB, 489 views)
GoD-Tony is offline
Reply



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:41.


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