Gamemode★ 4aktualisiert Nov. 2022MITPAWN
Auf GitHub öffnenREADME.md
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'sRequirements
So in case you wonder .. what do i need to run this mode ?Plugins:
- MySQL Plugin R39-2 (or older - without a database you can't run this.)
- FCNPC (for the zombies)
- MapAndreas (mostly for dropping items)
- Sscanf
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 scratchMedia
Deers:
Zombies
An item
Trees
Diese Seite wird aus dem erstellt, was GitHub über das Repository veröffentlicht. samp.directory hostet den Code nicht. Ein Problem mit diesem Eintrag melden