General > Developers Corner

My first real script will be a hitman menu and I need help!

(1/2) > >>

pazda:
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!

nathan736:
http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index2901.html

pazda:
But I don't want it to be shown up after every  map change - just the very first connection.

iSnipeu:

--- Quote from: pazda 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.

--- End quote ---

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

pazda:

--- Quote from: iSnipeu on March 09, 2013, 03:36:58 AM ---Then you'll have to save everyone that has spawned, either to a text file or sql.

--- End quote ---
Alright. Thanks

Navigation

[0] Message Index

[#] Next page

Go to full version