Closed DolfinoPlays closed 2 months ago
Hello, you're missing local playerPed = PlayerPedId()
Tested it and it is working with no issue.
Im running this in a server.lua script
[script:SEM_Interacti] SCRIPT ERROR: @SEM_InteractionMenu/server.lua:21: attempt to call a nil value (global 'PlayerPedId')
[script:SEM_Interacti] > handler (@SEM_InteractionMenu/server.lua:21)
[script:SEM_Interacti] SCRIPT ERROR: @SEM_InteractionMenu/server.lua:40: attempt to call a nil value (global 'PlayerPedId')
[script:SEM_Interacti] > handler (@SEM_InteractionMenu/server.lua:40)
The code you sent is client-sided only.
Issue
When i run the code below, the print functions all work fine, but no audio is playing whatsoever, I've been running in circles trying to figure out what I've done wrong, if anything.
Console The console prints out this: