• How to call serverside's script from clientside's script...
    3 replies, posted
Hello there! I'm trying to call function from included serverside's script in the clientside's script, but it doesn't work . Error: [ULib] addons/playtime/lua/autorun/client/playtime.lua:7: attempt to call global 'getPlayertimeData' (a nil value)   1. fn - addons/playtime/lua/autorun/client/playtime.lua:7    2. Call - lua/ulib/shared/hook.lua:109     3. func - gamemodes/darkrp/gamemode/modules/chat/cl_chat.lua:30      4. unknown - lua/includes/extensions/net.lua:32 Here's link to repo: GitHub Thanks for reading ;).
Ok, so I have corrected it! I'm using net library (Net Library Usage).
So does it work now?
Yep. Admin can close this thread.
Sorry, you need to Log In to post a reply to this thread.