Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: RandomTP
Post: RE: RandomTP
http://vcraft.pl/hosting/errrrr.png
before error is -1227 nil 1235
PHP Code:
--
function Initialize(Plugin)
Plugin:SetName("RandomTP")
Plugin:SetVersion(1)
cPluginManager.BindCo... |
|
Keith |
Plugin Discussion
|
18 |
12,882 |
08-30-2015, 06:53 AM |
|
|
Thread: RandomTP
Post: RE: RandomTP
http://vcraft.pl/hosting/errrr.png
PHP Code:
--
function Initialize(Plugin)
Plugin:SetName("RandomTP")
Plugin:SetVersion(1)
cPluginManager.BindCommand("/rtp", "randomTP.rtp", Randomtp, " ~... |
|
Keith |
Plugin Discussion
|
18 |
12,882 |
08-30-2015, 04:59 AM |
|
|
Thread: RandomTP
Post: RE: RandomTP
PHP Code:
--
argument #3 is nil ; 'number' expected
--
|
|
Keith |
Plugin Discussion
|
18 |
12,882 |
08-30-2015, 04:50 AM |
|
|
Thread: RandomTP
Post: RE: RandomTP
NiLSPACE,
http://vcraft.pl/hosting/errr.png
It works with GetHeight(X, Z). But sometimes it is teleporting me before chunk load, and im locking in blocks |
|
Keith |
Plugin Discussion
|
18 |
12,882 |
08-30-2015, 04:39 AM |
|
|
Thread: RandomTP
Post: RE: RandomTP
http://vcraft.pl/hosting/err.png
PHP Code:
--
function Initialize(Plugin)
Plugin:SetName("RandomTP")
Plugin:SetVersion(1)
cPluginManager.BindCommand("/rtp", "randomTP.rtp", Randomtp, " ~ R... |
|
Keith |
Plugin Discussion
|
18 |
12,882 |
08-30-2015, 02:01 AM |
|
|
Thread: RandomTP
Post: RE: RandomTP
I used :
PHP Code:
--
X = math.random(-2000, 2000)
Z = math.random(-2000, 2000)
Y = Player:GetWorld():GetHeight(X, Z)
--
Trying to use TryGetHeight(X, Z), returned bool value and error ... |
|
Keith |
Plugin Discussion
|
18 |
12,882 |
08-30-2015, 01:12 AM |
|
|
Thread: RandomTP
Post: RandomTP
Hi, its my first plugin in LUA.
I don't know how to check the ID of block in random XYZ position.
Sometimes its move me into blocks. I want to teleport olny on grass, sand, dirt.
Please help :)
... |
|
Keith |
Plugin Discussion
|
18 |
12,882 |
08-30-2015, 12:01 AM |