Zombie Plague Xtreme - V1.1 - OG 
99 comments
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:
Code:
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
#ITEMS SECONDARY 2,1,4,3,6,5
#ADMIN 17924
#EXTRA nightvision.lua
#ZOMBIECLASS classic.lua


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

Code:
1
2
2
extraItemID = ZP.CreateExtraItem("human")
extraItem = ZP.CFG.EXTRAHUMAN[extraItemID]
extraItem = ZP.CFG.EXTRAHUMAN[extraItemID]
Creating an Ammo pack price
Code:
1
extraItem.Cost = 15
Creating an Extra item name
Code:
1
extraItem.Name = "Molotov"
Equiping an extra item function
Code:
1
2
3
2
3
function extraItem.Equip(id)
parse("equip "..id.." 73")
end
parse("equip "..id.." 73")
end
Checking if it's an equipable item
Code:
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
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

Comments
99 commentsLog in!
You need to log in to be able to write comments!Log in
11.04.17 04:32:14 pm
why can not edit 'server.lua'? edit their shows me something like:
http://imgur.com/W8wuPCH
what can I do ?
http://imgur.com/W8wuPCH
what can I do ?
25.02.17 05:11:37 pm
is there a way to customize ammo pack
so people get more ammo pack?
i mean yeah there is but how do i do it
so people get more ammo pack?
i mean yeah there is but how do i do it
24.08.16 09:13:21 pm

They can tell me how to get admin thanks
I am sorry for my bad english
I am sorry for my bad english
Oh god,really like it.
No,thanks.
*Im not a revenge rater*
Note that guy below me says it is good but he doesnt even check or tick the "i like it!".Thats odd.
No,thanks.
*Im not a revenge rater*
Note that guy below me says it is good but he doesnt even check or tick the "i like it!".Thats odd.
edited 1×, last 13.08.16 06:35:31 pm

Description has written:
Scripter: @
Starkkz:

So, you're not the one that made it...
Still, seems nice, but I don't see much from the screens.
I'll just thrust in his skills, and your ideas and leave a like.