Client Location
Is there a way to get grab a client's current location for spawning an NPC?
Like how you can do $x = $npc->GetX(); |
NPCs export $x, $y, $z, and $h. However, clients do not. So you'd have to do something like this.
Code:
sub EVENT_SAY { |
Awesome thank you KK.
I had tried that or something similar but did GetH(); insteading of GetHeading() ... should have double checked my syntax on the perl reference sheet. |
All times are GMT -4. The time now is 12:53 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.