MichaelBelgium / TLOD

The Land Of Death - A SA:MP Zombie gamemode (rescript)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TLOD

The Land Of Death - A SA:MP Zombie gamemode (rescript)

The Land Of Death

I never got in touch of a zombie gamemode but i grabbed one from the San Andreas Multiplayer Forums and made an own zombie script based of the script from the forums. Now it's an open source zombie gamemode with several features. Upcoming edits are planned and ofcourse more stuff.

Features

* SQL Register/login * Inventory system * Loot system * Needs system (hunger, sleep, thirst) * Crafting (chop trees, mine iron, and more stuff) * Fishing * Deers (for meat !!) * Experience/level system * and ofcourse ZOMBIES (npc's

Requirements

So in case you wonder .. what do i need to run this mode ?

Plugins:

Includes:

Settings

Basic defines/settings:
#define GNAME 		"TLOD 1.0"
#define MNAME 		"|-[LandDeath]-|"
#define HNAME 		"The Land Of Death"

#define MAX_ZOMBIES     100
#define MAX_PLAYERS     30
#define MAX_VEHICLES    50
#define MAX_INV_ITEMS   50

//try to do the total amount less than 1000 (1000 = max objects)
#define MAX_ITEMS       350
#define MAX_DEERS       50
#define MAX_TREES       450
#define MAX_BOXES		    100

//if you use SQL:
#define SQL_PASSWORD    ""
#define SQL_USER        "TLOD"
#define SQL_DB          "TLOD"
#define SQL_SERVER      "127.0.0.1"

Custom functions

Most of the custom functions are for the inventory system. but ofcourse you can add more trees, cars and items ! These are the most important:
stock CreateTree(model,Float:x,Float:y,Float:z);
stock CreateCar(model,Float:x,Float:y,Float:z,Float:rot);
stock CreateRandomItemInArea(Float: minX, Float: minY, Float: maxX, Float: maxY);
stock CreateItem(model,amount,Float:x,Float:y,Float:z,Float:rx,Float:ry,Float:rz);

stock CountInventoryItems(playerid);
stock DropAllItemsFromInventory(playerid);
stock RemoveItemFromInventory(playerid,slot,amount = 1);
stock DropItemFromInventory(playerid,slot);
stock MoveItemsInInventory(playerid,startslot);
stock AddItemToInventory(playerid,modelid,amount = 1);
stock IsItemInInventory(playerid,modelid,amount = 1);
stock GetItemInInventory(playerid,modelid);
stock SavePlayerInventory(playerid);

public OnPlayerInventoryLoad(playerid)

Credits

* VinPure, without him i couldn't get started * Y_Less, Sscanf * BlueG/maddinat0r, MySQL plugin * Kalcor, MapAndreas * SouthClaw, progress2 * Me, re-scripting from scratch

Media

Deers:

Zombies

An item

Trees

About

The Land Of Death - A SA:MP Zombie gamemode (rescript)

License:MIT License


Languages

Language:Pawn 100.0%