ULX

Author Topic: [ULX hates me]Help with a command AGAIN AGAIN  (Read 5914 times)

0 Members and 1 Guest are viewing this topic.

Offline XxLMM13xX

  • Sr. Member
  • ****
  • Posts: 265
  • Karma: -51
  • New to lua development
    • Twitch
[ULX hates me]Help with a command AGAIN AGAIN
« on: February 01, 2015, 04:13:19 PM »
Hello! i have made my own command that tp's a player to a sit ( or any selected location ) and it is not doing the tsay and its not in the ulx menu...

Here is the code/addon that i have...


Hope you can help THANKS

Offline JabbaTheWut

  • Newbie
  • *
  • Posts: 35
  • Karma: -3
  • The Noob.
Re: [ULX hates me]Help with a command AGAIN AGAIN
« Reply #1 on: February 01, 2015, 05:20:39 PM »
Im not a lua coder. As a matter of fact I suck. However what I do to fix problems where there isnt a direct fix is look at other scripts. For example, I was having trouble with a script so I looked at another script and borrowed some of the code and put it where I needed it and it fixed my problem.

So go in teleport.lua and chat.lua and look at how they have there chat thing is set up and try to work off that.
I might be one of the stupidest people you will ever meet.

Offline XxLMM13xX

  • Sr. Member
  • ****
  • Posts: 265
  • Karma: -51
  • New to lua development
    • Twitch
Re: [ULX hates me]Help with a command AGAIN AGAIN
« Reply #2 on: February 01, 2015, 05:33:58 PM »
Thats the bad thing.... I copied the teleport command and worked on it lol and it STILL does not work ;( wanna take a look?

Offline JabbaTheWut

  • Newbie
  • *
  • Posts: 35
  • Karma: -3
  • The Noob.
Re: [ULX hates me]Help with a command AGAIN AGAIN
« Reply #3 on: February 01, 2015, 05:48:17 PM »
Sure. the only reason I do that is because I dont know how to make code all that well. I can understand whats going on but thats it
I might be one of the stupidest people you will ever meet.

Offline XxLMM13xX

  • Sr. Member
  • ****
  • Posts: 265
  • Karma: -51
  • New to lua development
    • Twitch
Re: [ULX hates me]Help with a command AGAIN AGAIN
« Reply #4 on: February 01, 2015, 06:12:09 PM »
So you cant help me... lol its ok thanks for the ( somewhat ) help

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: [ULX hates me]Help with a command AGAIN AGAIN
« Reply #5 on: February 01, 2015, 06:16:37 PM »
Alright, don't take this the wrong way. It's not ULX that hates you, it's your lua that hates you. Secondly, I don't understand what you're trying to do!?

What is a "sit"??

What does it even do, people need descriptions??

What exactly doesn't work??

Are there any errors??
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given