samp.directory
← Скрипты и библиотеки

MichaelBelgium/TLOD

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

Игровой мод★ 4обновлён нояб. 2022 г.MITPAWN
Открыть на GitHub

README.md

TLOD

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

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.

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:

  • Progress2 (for the needs system)
  • ZCMD (command processor)
#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"
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)

Deers:

Zombies

An item

Trees

Страница собрана из того, что GitHub публикует о репозитории. samp.directory не хранит этот код. Сообщить о проблеме с этой записью

MichaelBelgium/TLOD: Игровой мод для SA-MP | samp.directory