Jump to content

Pranter

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Pranter

  1. Can you give an example, because its like function name, and event name, and i am confused
  2. Hello i have question. I got function.. function trailerCreated(text) and down here i got addEvent("test12334", true) addEventHandler("test12334", getLocalPlayer(), trailerCreated) but how i can call it from server side? any ideas?
  3. Hello i have problem, maybe someone can help me to solve it. So there is client-side: if (distance > 1) then local money = distance*0.6 local illegalString = "No" if (illegal) then money = distance*0.6 illegalString = "Yes" end this after in some thing when he finnish the route. triggerServerEvent("payTrucker", localPlayer, localPlayer, money) (and server side) function payTrucker() exports.global:giveMoney(source, money) end addEvent("payTrucker", true) addEventHandler("payTrucker", root, payTrucker) But it doesnt work
  4. Hello i am using dynamic lighting, but there is problem, the nightmod stays for all day, and its dark in the day. how can i make it like when the nightmod works only from 20:00 to 6:00 ???? thankyou
×
×
  • Create New...