Author Topic: Console Command "mountObject"  (Read 2517 times)

It won't work, it acts as if you typed in findclientbyname().sadfjkasdjashd(); in the console. In other words, this are broken.

And also: This is why I need the botmounttoobject in suggestions and requests.

Dangit, I hate no edits.

findclientbyname("spartan").player.mountObject(findclientbyname("asdf"), 0));

findclientbyname("spartan").mountObject(No quote marksfindclientbyname("asdf"), This space here0No quote marks));
I see things wrong, if I'm correct.

I see things wrong, if I'm correct.
You're wrong.

I may have gotten the order wrong, the 0 may become before the findclientbyname.

You're wrong.

I may have gotten the order wrong, the 0 may become before the findclientbyname.
You're right, but now it says there's a syntax error in the imput.

You're right, but now it says there's a syntax error in the imput.
Tell me what you put in or else I can't help you.

findclientbyname("spartan").player.mountObject(findclientbyname("asdf"), 0));
What is this extra right-hand parentheses here for?  Try removing it.  That should clear stuff up.

Just so you don't het some 5 pages of an essay telling me I'm wrong, here's the technique.  You start at 0.  for every left parentheses, you add 1.  for every right parentheses, you subtract 1.  When done counting the parentheses, you should get 0.  Your snippet of code turned out with -1, as shown by the extra right parentheses.

Man, I say parentheses alot.

Anyway, I hope this helps!

What is this extra right-hand parentheses here for?  Try removing it.  That should clear stuff up.

Just so you don't het some 5 pages of an essay telling me I'm wrong, here's the technique.  You start at 0.  for every left parentheses, you add 1.  for every right parentheses, you subtract 1.  When done counting the parentheses, you should get 0.  Your snippet of code turned out with -1, as shown by the extra right parentheses.

Man, I say parentheses alot.

Anyway, I hope this helps!
Copypasted your command, it won't work still.

No edit, so DOUBLE POST (sorry)
What is this extra right-hand parentheses here for?  Try removing it.  That should clear stuff up.

Just so you don't het some 5 pages of an essay telling me I'm wrong, here's the technique.  You start at 0.  for every left parentheses, you add 1.  for every right parentheses, you subtract 1.  When done counting the parentheses, you should get 0.  Your snippet of code turned out with -1, as shown by the extra right parentheses.

Man, I say parentheses alot.

Anyway, I hope this helps!
Kthx for pointing out the parentheses.
And also, that's funny, the logic involved.

I use /getid
idhere.mountobject(idhere,#);
# is the mount point.

I use /getid
idhere.mountobject(idhere,#);
# is the mount point.
K.
And also, with the removal of the back parentheses, it worked. Yey :D

I use /getid
idhere.mountobject(idhere,#);
# is the mount point.
What numbers do you use for the mount point? isn't it 1-9?

What numbers do you use for the mount point? isn't it 1-9?
I think, but it depends on how many mount points the vehicle/bot has.

K.
And also, with the removal of the back parentheses, it worked. Yey :D
I'm glad I could help!