Vice City: Multiplayer

Server Development => Scripting and Server Management => Script Showroom => Topic started by: habi on Dec 21, 2022, 03:57 PM

Title: npc attack-script
Post by: habi on Dec 21, 2022, 03:57 PM
Hi this is the complete script of the npc - demo server, in many of you participated.

This is available as a zip file below

Download (https://dl.dropboxusercontent.com/s/e59iq3yntjnljk8/npc-demo-linux.zip) for Linux x64

Download (https://dl.dropboxusercontent.com/s/ky1tlynja4k501t/npc-demo-windows.zip) for Windows

Note that i just copied the entire files from my linux machine.

Alternative quick download and extract in linux VPSs using one curl command
If you run the below command in administrator mode (sudo) in a linux vps like Ubuntu, the files are automatically downloaded and uncompressed. (Server is included with this)
curl -L https://dl.dropboxusercontent.com/s/7tjzxrjuhm59yfe/npc-demo.tar.gz | sudo tar -xz

(https://i.imgur.com/4MfmSx1.png)

You can learn how i used timers in npc-scripts to  shoot players, updated damages for npcs and made it into a mission like server.

Edit: Here is a video of the server made by Seby.
https://forum.vc-mp.org/?topic=8952.0
Title: Re: npc attack-script
Post by: Sebastian on Dec 25, 2022, 11:34 AM
This can be very useful to beginners!
Good release!