Jump to content

Need help with npchlc_traffic


botshara

Recommended Posts

It shouldn't be any difference in the behavior of lua scripts between Windows and Linux. Check these points:

  • Did you copy the same code from Windows to Linux, (i.e do you know the copy you have on Linux actually works)
  • Did you updated permissions and owner? "chmod +x script.lua" and "chown YOUR_USER script.lua".
  • Does the resource start without spawning peds and vehicles or does it not start at all?

Link to comment
It shouldn't be any difference in the behavior of lua scripts between Windows and Linux. Check these points:

  • Did you copy the same code from Windows to Linux, (i.e do you know the copy you have on Linux actually works)
  • Did you updated permissions and owner? "chmod +x script.lua" and "chown YOUR_USER script.lua".
  • Does the resource start without spawning peds and vehicles or does it not start at all?

* I downloaded script from my pc (windows) and then upload via ftp on my server

* I set for all files chmod 777, but nothing changing

* Resource start but start without spawning peds and vehicles, on my windows server console show that have loaded map in 0.99999 server but on my linux server console doesnt show it, I mean there is the problem.

Im using Linux Debian 7.7

Link to comment

Try /debugscript 3 in game, there might be client side error which won't be shown in the server console. If you're using windows 7 or later you may need to right click on the file, choose properties and then unblock (if available) as windows 7 block files downloaded from unknown sources. I'm not sure how Linux deal with that kind of block as I always unblock my files before sending them to the server.

Link to comment
Try /debugscript 3 in game, there might be client side error which won't be shown in the server console. If you're using windows 7 or later you may need to right click on the file, choose properties and then unblock (if available) as windows 7 block files downloaded from unknown sources. I'm not sure how Linux deal with that kind of block as I always unblock my files before sending them to the server.

Nop it doesnt help (unblock) and no one error with debugscript. WTF where is the problem :x

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...