Jump to content

deathrat

Members
  • Posts

    5
  • Joined

  • Last visited

deathrat's Achievements

Vic

Vic (3/54)

0

Reputation

  1. Edit: I ended up getting it to work, thanks everyone. function openGUIDirectly ( playerSource, res ) if ( hasObjectPermissionTo ( playerSource, "resource.bombshop.openGUIDirectly", true ) ) then triggerClientEvent( playerSource, "gui_bombshopEnter", playerSource, 0) else return end end addCommandHandler ( "bombshopgui", openGUIDirectly ) Although now I'm having a problem where after hit a bind for the command, either the window doesn't pop up unless you hit console or something that enables the cursor, or it pops up but the cursor is disabled.
  2. Well, I tried multiple things, and after none of them worked, I deleted it and kinda just gave up, but I guess I could try to redo it...
  3. Would anyone mind posting the code, so I can see what I've been doing wrong, and what it's supposed to look like?
  4. Gah, I've tried everything I can think of to try and get this to work, but when I type in the command, it doesn't do anything, doesn't even give any errors in the server console.
  5. Is there a way to edit the Bombshopadv script, to make it so when an admin types in a command, it will pop up the GUI so that they can buy a bomb no matter where they are?
×
×
  • Create New...