Git Product home page Git Product logo

project-dayz-samp's Introduction

Project-DayZ-SAMP

Installation:

  1. Download SAMP 0.3.7 Server package: http://files.sa-mp.com/samp037_svr_R2-1-1_win32.zip
  2. Download project files and copy & paste them into the folder
  3. Download XAMPP and create local MySQL database or if hosted remotely put the info for the MySQL connection in dayz.pwn settings

The .sql files will automatically generate as soon you compile and start the server if the database is successfully connected.

  1. Compile dayz.pwn.
  2. Start samp-server.exe

Server Settings (all in dayz.pwn under #define SETTINGNAME):

#define mysql_host "" // IP of remote host or if local: 127.0.0.1

#define mysql_user "" // Username of MySQL. If local type root.

#define mysql_password ""

#define mysql_database "" // Name of the database

#define MAX_ZOMBIES (originally set to 400) make sure this setting is set to amount of zombies you need. In server.cfg make sure maxnpc is set to max zombies.

#define NAME - Server same

Everything else is self-explanatory.

Admin Level Status

  1. Login to PhpMyAdmin or MySQL command prompt.
  2. Edit the pAdminLevel field set to level 5
  3. (Optional) Edit dayz.pwn Line 9120 repalce if(pInfo[playerid][pAdminLevel] >= 5) to if(IsPlayerAdmin(playerid)) which use RCON built in SAMP administrative system. (via /rcon login pass)

Military Crates

/spawncratem (command used by administrators) To create military crate spawns please use: DayZSA_CreateAirdrop(x,y,z);

project-dayz-samp's People

Contributors

aaronnader96 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.