Jump to content

Items In Briefcase Script No Errors


micheal1230

Recommended Posts

Gui Doesnt show

Errors:

No Errors But Items dont show And its adds Another 2 colums called item And Value

Here Is The Trigger

if (item==Briefcase) then 
            triggerEvent("getItemsInInventory", source) 

Server:

IN THE PIC IT SHOWS NO addEvent But I have added it so ignore that its not there.

ServerBriefcase.jpg

Right Click and Open Image In New Tab If you need to look at the little bit off the end.

Client:

http://pastebin.com/uMG5hfgm

Link to comment

Is the event even triggered? Where did you get characterID from? Don't make global variables to store IDs, strings, etc. unless it's client-side script. You can make a global table to store that information for every player or simply use setElementData instead. Also, why don't you trigger the "openBriefcase" event only for 1 player? It'd save you some bandwidth and lower the chance of a lag.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...