20.05.2013, 20:30
I've been having a tinker around again, to find myself with a problem. I'm trying to make pickups to teleport players between exterior/interior. That in itself is relatively simple. The issue I'm having is that they transport from the exterior, onto the interior pickup. Getting thrown instantly back outside again.
The most simple cure, would be to move the interior pickup. But I'm confident there must be a way around this, much more efficiently. I tried creating a timer to throw them outside, but my public function must of been defective as it didn't recognize the pickupid. I used SendClientMessage to see how far the process was going as a form of tracking. Either way, there must be a more efficient way than OnPlayerPickUpPickup firing off several timers waiting for a hit?
Perhaps the solution involves GetPlayerPos & a timer. I'm not sure. I need to slow it down so players don't get thrown back outside.
Any suggestions would be highly appreciated & I thank you in advance.
The most simple cure, would be to move the interior pickup. But I'm confident there must be a way around this, much more efficiently. I tried creating a timer to throw them outside, but my public function must of been defective as it didn't recognize the pickupid. I used SendClientMessage to see how far the process was going as a form of tracking. Either way, there must be a more efficient way than OnPlayerPickUpPickup firing off several timers waiting for a hit?
Perhaps the solution involves GetPlayerPos & a timer. I'm not sure. I need to slow it down so players don't get thrown back outside.
Any suggestions would be highly appreciated & I thank you in advance.