Vice City: Multiplayer

VC:MP Discussion => General Discussion => Topic started by: Xytho on Apr 17, 2023, 04:41 AM

Title: How to make vcmp server?
Post by: Xytho on Apr 17, 2023, 04:41 AM
Bro plz tell me how to make vcmp server/gamemode
Title: Re: How to make vcmp server?
Post by: habi on Apr 17, 2023, 06:29 AM
You can download the blank server from here (https://forum.vc-mp.org/index.php?topic=33.0)

Running the server
Double click on server32.exe. You will see message VCMP 0.4 Server started at port 8192 Max Players 100.

Connecting to your server
Open VCMPBrowser.exe and on Favourites tab,  add "127.0.0.1:8192" without quotes.

Inviting Friends
Go to whatismyip.com and find your ip address. Tell your friend to add ip:port in browser. If they do not see, 
you need to portforward 8192.

Where is the code?
On folder scripts/main.nut. You can use notepad for editing.

Controlling your server
Many properties of server are stored in server.cfg. You can

Adding skins/ Controlling weather/  Creating cars
Many such properties are stored in server.conf. You can

Making commands like /goto, /getcar, /heal
Open main.nut specified above and find function
onPlayerCommand. You need to learn little coding here to make these work.

Good luck.