#just basic q

1 messages · Page 1 of 1 (latest)

rapid helm
#

how can i set need police to start robbery and also a cooldown when player triggerd the context label

rapid helm
#

and how can i make a usable item ?

#

and when item used play animation after that

short bloom
rapid helm
#

is this okay?

#

can i use PlayePedId in server.lua?

#

i made this and also i triggerd the event in client.lua but still it dosent work

#

i get this error

short bloom
viscid yew
viscid yew
#

It looks like you just copied pasted the example and didn't replace the item or any of the logic

rapid helm
#

how can i update the script like i have the requird item to open the safe but i have to restart the script and then it will work

viscid yew
#

If you need to restart a script to get something to work usually there is either a script error on resource load, or your load order is wrong.

viscid yew
#

Your server.cfg is where you load your resources

rapid helm
#

is this looks fine?

viscid yew
#

You haven't told me which resources are the ones interacting with each other, which one you need to reload for it to work.

rapid helm
viscid yew
#

Ok. Then investigate the load order of that.

#

I can't help further with the lack of information you're giving me

rapid helm
viscid yew
#

No, but you can join and someone else might be able to help.

rapid helm
#

How can I update the value I have created citizen.create thread but my Boolean doesn’t get update and stays false or true even when I drop or give the item to player