
The following script was based on Counter-Strike 1.6 famous Zombie Mod. Zombie Plague.
We tried to make the script which follows the mod, so players can enjoy like they did on Counter Strike 1.6.


















You can set items/add admins/add new zombie classes in the configuration file, using the next format
#ITEMS PRIMARY
firstItemId,secondItemId,etc
#ITEMS SECONDARY
firstItemID,secondItemId,etc
#ADMIN
usgnId
#EXTRA
fileName.lua
#ZOMBIECLASS
fileName.lua
A example of that would be:
1
2
3
4
5
2
3
4
5
#ITEMS PRIMARY 38,39,32,30,31,33,34,10,11,21,23,24,20,22 #ITEMS SECONDARY 2,1,4,3,6,5 #ADMIN 17924 #EXTRA nightvision.lua #ZOMBIECLASS classic.lua


1
2
2
extraItemID = ZP.CreateExtraItem("zombie") extraItem = ZP.CFG.EXTRAZOMBIE[extraItemID]
Creating Ammo pack price
1
extraItem.Cost = 15
Creating an Extra item name
1
extraItem.Name = "Zombie protection"
Creating an Equiping extra item function
1
2
3
2
3
function extraItem.Equip(id) 	PLAYER[id].ArmorProtection = PLAYER[id].ArmorProtection + 150 end
Checking if is an equipable item
1
2
3
4
2
3
4
function extraItem.Equipable(id) 	return true 	-- In case of no use format: return false, "reason" end

1
2
2
extraItemID = ZP.CreateExtraItem("human") extraItem = ZP.CFG.EXTRAHUMAN[extraItemID]
Creating an Ammo pack price
1
extraItem.Cost = 15
1
extraItem.Name = "Molotov"
Equiping an extra item function
1
2
3
2
3
function extraItem.Equip(id) 	parse("equip "..id.." 73") end
Checking if it's an equipable item
1
2
3
4
5
6
2
3
4
5
6
function extraItem.Equipable(id) 	if table.find(playerweapons(id), 73) then 		return false, "You've got already this item" 	end 	return true end
You can edit this script whatever you want, even uploading your own extra items / class / everything else but having credits to OhGawd! Team
Note: Script started from scratch. We didn't use any lua script on US to make this.
Also sorry because of the size. The script uses alot of sounds and images, but it's supposed to not lag at all










v1.1


v1.0

edited 11×, last 05.05.12 03:41:44 pm
Approved by Starkkz
Download
1.15 mb, 2,916 Downloads