Author Topic: (NEW PROBLEM) What are the tool commands for guis?  (Read 1068 times)

What is the command for wrench? I can't get it right.

I tryed:
Code: [Select]
commandToServer('usewrench');and:
Code: [Select]
commandToServer('wrench');So... what am I doing wrong?
« Last Edit: October 24, 2009, 01:14:28 AM by Christopher P. »

commandToServer('useTool', 0); for slot 1
commandToServer('useTool', 1); for slot 2...

commandToServer('useHammer'); for hammer (admin only)
commandToServer('usePrintGun'); for printer (not admin only)
commandToServer('wand'); for wand (outside of minigame, or in minigames that allow it)
commandToServer('adminWand'); for destructo wand (admin only)

commandToServer('useTool', 0); for slot 1
commandToServer('useTool', 1); for slot 2...

commandToServer('useHammer'); for hammer (admin only)
commandToServer('usePrintGun'); for printer (not admin only)
commandToServer('wand'); for wand (outside of minigame, or in minigames that allow it)
commandToServer('adminWand'); for destructo wand (admin only)

Eh... I mean get the tools into your hand, not into the inventory or from the inventory.

Example:

(  Tool  )

Command          [             ]
                          ^
What goes in here? |
« Last Edit: October 23, 2009, 10:30:46 PM by Christopher P. »


commandToServer('useTool', 0); for slot 1
commandToServer('useTool', 1); for slot 2...



Are you sure? that looks like add to inventory to me. I need add to HAND, not inventory.

Are you sure? that looks like add to inventory to me. I need add to HAND, not inventory.
That will make the god damn weapon appear in your hand.
Please test your code which will take 2 seconds instead of asking us.

That will make the god damn weapon appear in your hand.
Please test your code which will take 2 seconds instead of asking us.

Ah, sorry

Well, it works! Thanks for helping me!

Locked

EDIT: Unlocked now
« Last Edit: October 24, 2009, 12:03:01 AM by Christopher P. »


Please, I need some help here.



commandToServer('magicWand'); for destructo wand (admin only)

Nvm not client sided.
« Last Edit: October 24, 2009, 02:28:50 AM by Human Reaper »

There is no command for the wrench.