31.10.2016, 23:30
(
Последний раз редактировалось Jelly23; 18.11.2016 в 12:28.
)
Zombie Survival
So yeah, this is a basic gamemode i made, but you might find some of it's features useful. In my opinion, it's good in the way it is, so yeah...Features:
- Two teams obviously (Humans and Zombies).
- Three maps to play at.
- Random zombie at the start of every map.
- Each map has a duration of 255 seconds.
- Shop system.
- Team & map time counter.
- Textdraw Menus were used.
- Account system, in MySQL.
- Ban system, in MySQL aswell.
- Admin System with four levels: Owner, Manager, Admin & Moderator.
- 31 Commands
- Can infect/kill by pressing LMB.
- Zombies get $5,000 if they win.
- Zombies get $3,200 per kill.
- Zombies spawn with the following skins: 162, 135, 137 & 196.
- Must kill zombies and survive until the map ends.
- Humans get $10,000 if they win.
- Humans can buy weapons/armor from /shop at the start of the round.
- Once dead, you will only respawn as human in the next round.
- Humans spawn with the following skins: 165, 166, 154, 0, 150, 147, 143, 126.
- Commands: /ban, /unban, /offban and /banlist.
- Ban list's features:
-Last bans will show the last 30 bans.
-Find bans will show 30 results according to what you are looking for.
-By clicking in a ban in the list, another dialog will pop up asking if you want to unban that person.
-You can edit bans, such as the admin's name, user and reason.
-Addban feature is the same as offban, the only difference is that it is in dialogs.
- Ban list's pictures:
- 4 Levels: Owner, Manager, Admin & Moderator.
- Commands:
PHP код:-Owner: /setweather, /settime, /gmx & /setcash.
-Manager: /offban, /setlevel, /setkills, /setdeaths & /resetcash.
-Administrator: /banlist, /ban, /unban, /weaps, /disarm & /giveallcash.
-Moderator: /warn, /kick, /spec, /specoff, /spawn & /slap.
- Dynamic map system.
/mapeditor in-game.
http://imgur.com/a/hgBvd
http://imgur.com/a/R8OlK
- Each map can have different durations (You can change interior, map duration etc. Coords will have to be changed manually in the table, aswell as filterscript).
- Columns in maps table:
mapid - stands for the map id.
Mapname - map's name
HumanX, HumanY & HumanZ - Human Spawn Coords.
ZombieX, ZombieY & ZombieZ - Zombie Spawn Coords.
Duration - Your map's duration, by default its 255 Seconds.
Time - Your map's world time.
Weather - Your map's weather.
Interior - Your map's interior
Filterscript - Map's filterscript (used for map objects), leave it as ''None'' if your map doesn't use any objects.
- /stats
- /credits
- /savestats
- /kill
- /shop
- /admins
- /rules
- /report
- /cmds
- You can find the album in here: http://imgur.com/a/8gy6v
- sscanf 2.8.2: https://sampforum.blast.hk/showthread.php?tid=602923
- MySQL (i'm using R39-4): https://sampforum.blast.hk/showthread.php?tid=56564
- TextMenu v1.0 (my include): https://sampforum.blast.hk/showthread.php?tid=620516
- Foreach 0.4.1 standalone: https://sampforum.blast.hk/showthread.php?tid=570868
- players.sql:
Solidfiles
- bans.sql:
Solidfiles
- maps.sql:
Solidfiles