• Print

Author Topic: Set Opposite  (Read 4206 times)

0 Members and 1 Guest are viewing this topic.

Offline dankpepe

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 1
Set Opposite
« on: June 07, 2016, 07:41:57 pm »
Sorry about making 2 posts so close to each other, but I just ran into a problem. I can't run the opposite command. It was working until I modified the code to use PData. I get no errors, when I try to run the opposite I get:

"Usage: ulx uncover {Name to change} - Makes you go undercover (say: !undercover) (opposite: ulx uncover)"

here is my code:

Code: Lua
  1. shitty code
  2.  
« Last Edit: June 08, 2016, 07:54:48 pm by dankpepe »

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
Re: Set Opposite
« Reply #1 on: June 08, 2016, 07:28:04 am »
Ok I'm not super amazing with setOpposite, but try only one _ in it. If not, I really don't know lol I'm not good at it.
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline dankpepe

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 1
Re: Set Opposite
« Reply #2 on: June 08, 2016, 07:30:19 am »
Ill try that, but it's weird because it was working before and all I did was change the body of the code

Offline dankpepe

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 1
Re: Set Opposite
« Reply #3 on: June 08, 2016, 12:47:37 pm »
Yeah that didn't work, that tried to set a string as a bool. Idk how i fixed it, but i did.
« Last Edit: June 08, 2016, 08:07:31 pm by dankpepe »

  • Print