Author Topic: My first real script will be a hitman menu and I need help!  (Read 3352 times)

0 Members and 1 Guest are viewing this topic.

Offline pazda

  • Newbie
  • *
  • Posts: 10
  • Karma: 1
My first real script will be a hitman menu and I need help!
« on: March 07, 2013, 02:05:39 PM »
Hi, I've started a new project - a DarkRP hitman menu. I've got a derma menu hooked up to a chat command with a DListView.

But how do you make it so that if you double click one of the rows of the DListView I made in that menu, you can edit the right row which changes a variable only for that player? (the bounty for that player)

Also, when someone writes /hitmenu in chat, it opens up the derma for everyone who saw the message. How do I fix this or make it so that the message doesn't show up?

Thanks a bunch!
« Last Edit: March 10, 2013, 12:28:28 AM by pazda »

Offline nathan736

  • Full Member
  • ***
  • Posts: 143
  • Karma: 4
a person asked me how to code lua and i said this " its like building a rocket up side down then  realizing you did it all wrong."

Offline pazda

  • Newbie
  • *
  • Posts: 10
  • Karma: 1
Re: My first real script will be a hitman menu and I need help!
« Reply #2 on: March 08, 2013, 03:29:32 PM »
But I don't want it to be shown up after every  map change - just the very first connection.

Offline iSnipeu

  • Jr. Member
  • **
  • Posts: 83
  • Karma: 12
Re: My first real script will be a hitman menu and I need help!
« Reply #3 on: March 09, 2013, 03:36:58 AM »
But I don't want it to be shown up after every  map change - just the very first connection.

Then you'll have to save everyone that has spawned, either to a text file or sql.

Offline pazda

  • Newbie
  • *
  • Posts: 10
  • Karma: 1
Re: My first real script will be a hitman menu and I need help!
« Reply #4 on: March 09, 2013, 09:24:14 AM »
Then you'll have to save everyone that has spawned, either to a text file or sql.
Alright. Thanks
« Last Edit: March 10, 2013, 12:28:50 AM by pazda »

Offline nathan736

  • Full Member
  • ***
  • Posts: 143
  • Karma: 4
Re: My first real script will be a hitman menu and I need help!
« Reply #5 on: March 12, 2013, 10:43:29 AM »
post your finished work i'm interested on how you did this.
« Last Edit: March 12, 2013, 10:59:18 AM by nathan736 »
a person asked me how to code lua and i said this " its like building a rocket up side down then  realizing you did it all wrong."

Offline pazda

  • Newbie
  • *
  • Posts: 10
  • Karma: 1
Re: My first real script will be a hitman menu and I need help!
« Reply #6 on: March 14, 2013, 12:50:28 PM »
Still not done, I still need help. The chat command works and opens the menu, but that's it so far.
And if I ever do release it it'll probably only be on the workshop. I want my first script ever to be unique. Sorry

Offline nathan736

  • Full Member
  • ***
  • Posts: 143
  • Karma: 4
Re: My first real script will be a hitman menu and I need help!
« Reply #7 on: March 15, 2013, 05:58:21 AM »
what do you need help with then lol
a person asked me how to code lua and i said this " its like building a rocket up side down then  realizing you did it all wrong."