Raised This Month: $32 Target: $400
 8% 

spawn tank ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
luis enrique
Member
Join Date: Oct 2017
Location: peru
Old 09-22-2018 , 22:43   spawn tank ?
Reply With Quote #1

hello someone knows how to make it, spawn tank, anywhere I want!


as if you were using stripper to keep a tank in a specific place

Last edited by luis enrique; 09-22-2018 at 23:28.
luis enrique is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 09-23-2018 , 08:13   Re: spawn tank ?
Reply With Quote #2

I suppose one way that this could be done is similar to Silvers' Footlocker, Gun Cabinet, Holdout, etc. plugins. Once a Tank spawns, have the plugin teleport the Tank to one of the saved positions (preferably whichever one survivors are currently the closest to).

Save position to a config file > Hook player_spawn to detect when a Tank spawns (don't use tank_spawn since it fires multiple times per Tank) > Teleport Tank to saved position based on the distance between the position and the survivors' location.

Unfortunately, I don't have time to do this and someone probably has a better way of making this happen.
__________________
Psyk0tik 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 16:05.


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