-
Posts
4,121 -
Joined
-
Last visited
-
Days Won
2
Everything posted by Kenix
-
userdata wrote and values. function startnextmap() local gamemode = exports.mapmanager:getRunningGamemode() outputChatBox( "gamemode = " .. tostring(gamemode) ) local array = exports.mapmanager:getMapsCompatibleWithGamemode(gamemode) outputChatBox( "array = " .. tostring(array) ) local nextmap = array[math.random(1,#array)] outputChatBox( "nextmap = " .. tostring(nextmap) ) if lastmap ~= nextmap then local thismap = exports.mapmanager:getRunningGamemodeMap() outputChatBox( "MAP = " .. tostring(thismap) ) stopResource(thismap) startResource(nextmap) lastmap = nextmap else outputChatBox( "случайно выбрана все та же текущая карта" ) end end edit :and call setTimer(startnextmap, 6100, 1)
-
local thismap = exports.mapmanager:getRunningGamemodeMap() stopResource(thismap)
-
here I am slightly corrected the error but still the problem with stop maps and runs it perfectly immediately evident that he was stupidly run maps [2011-01-19 16:55:25] Starting zm-newisland [2011-01-19 16:55:25] start: Resource 'zm-newisland' started [2011-01-19 16:55:44] Starting zm-angar [2011-01-19 16:55:44] start: Resource 'zm-angar' started [2011-01-19 16:55:56] Starting zm-war-island [2011-01-19 16:55:56] start: Resource 'zm-war-island' started function startnextmap() local gamemode = exports.mapmanager:getRunningGamemode() outputChatBox( "gamemode = " .. tostring(gamemode) ) local array = exports.mapmanager:getMapsCompatibleWithGamemode(gamemode) outputChatBox( "array = " .. tostring(array) ) local nextmap = array[math.random(1,#array)] outputChatBox( "nextmap = " .. tostring(nextmap) ) if lastmap ~= nextmap then local curentmap = exports.mapmanager:getRunningGamemodeMap() outputChatBox( "MAP = " .. tostring(curentmap) ) startResource(nextmap) lastmap = nextmap else outputChatBox( "случайно выбрана все та же текущая карта" ) end end help please
-
you wanted? addEvent( "onZombieWasted" ); addEventHandler( "onZombieWasted", getRootElement(), function( killer ) givePlayerMoney( killer, 1000 ); end )
-
you forgot to add the line. and add line in your script. ( server side) local root = getRootElement()
-
lol add your resource in acl name="Admin"> name="resource.your_resource_name" />
-
new UPDATE 1.0.3 - zombie effect (when you infect a zombie on the screen of the player appears blood and scary sounds) which makes a very interesting fashion. in the near future will show the screen.
-
something is not working. error in both cases mapmanager: invalid map specified. function startnextmap() local array = {} local z = 0 for i,v in ipairs(getResources()) do if string.match(getResourceName(v), "zm") then z = z + 1 array[z]=v end end exports.mapmanager:changeGamemodeMap(math.random(1,z)) end exports.mapmanager:changeGamemodeMap()
-
I have not decided in public or not.
-
http://www.GameNet.fi | | 100% Zombie Mod 24 / 7! I know this serv but it's pretty old =) and there all sorts of bugs and maps lately not much = (I want to do (try to) perfect zombie mod it than it will be like at 100% Zombie Mod but it's unlikely. edit:So to add all sorts of Fitch Achievement level system statistics skins weapon sounds, etc. I think it's all love
-
probably not
-
*UPDATE* 1.0.2 Fixed many bugs compared to version 1.0 and added many new Fixes bugs Fixed bug with the damage knives, etc. Fixed bugs with maps new added statistics murder deaths Added Achievement added a lot of maps screens server opening soon when I will correct all bugs EDIT if anyone wants to help fashion please see my thread on the forum and answer them.
-
help make that he has started any card please. I used to use it here but it loads the game mode and maps as well I'd like to do to load only the map exports.mapmanager:changeGamemode( getResourceFromName('zombie_mod') )
-
already a better job but he swears at stopResource Bad argument @ 'stopResource' acl name="Admin"> name="resource.zombie_mod" />name="Admin"> name="function.stopResource" access="true" /> name="function.startResource" access="true" />
-
not working need admin rights [2011-01-15 22:41:22] Access denied @ 'stopResource' [2011-01-15 22:41:22] Access denied @ 'startResource' edit : mapmanager running
-
Here's the script does not work help me fix it. local lastmap = nil function startnextmap() local array = {} local z = 0 for i,v in ipairs(getResources()) do if string.match(getResourceName(v), "zm") then z = z + 1 array[z]=v end end local nextmap = array[math.random(1,z)] if lastmap ~= nextmap then stopResource(nextmap) startResource(getResourceFromName(getResourceName(nextmap))) lastmap = nextmap end end
-
and is obtained here it should also be on the client side: getGameSpeed setPedHeadless setPedOnFire I simply exist that did not work.
-
ok thanks, I hope that this bug fix in the future.
-
not a zombie bots and players
-
here's some fixed but it still does not work. function zombieclasses ( zombie ) if not zombie then return end -- если не указано значение - выход local skinID = getElementModel(zombie) if not skinID then return end -- если не удалось узнать скин - выход if table.have( bronezombies, skinID ) then setPedStat ( zombie, 24, 2000 ) -- много хп getGameSpeed ( zombie, 0.7 ) -- побочные действия бег медленнее setGravity ( zombie, 0.009) -- побочные действия меньше прыжки elseif table.have( noheadzombies, skinID ) then setPedHeadless( zombie, true ) elseif table.have( speedzombies, skinID ) then getGameSpeed ( zombie, 1.3 ) -- быстрее бег setPedStat ( zombie, 24, 500 ) -- но меньше жизек elseif table.have( firezombies, skinID ) then setPedOnFire ( zombie, true ) -- зомби в огне end end
-
Yes I have almost all cards are in the chapels of Sa and there is not works for melee weapons thank you was directed but why not work?
-
so on my server has a bug but I do not understand what it is connected so the bug is that sometimes a knife or other objects in the melee do not do damage to another player from another team to what it can be linked? added: but everything else works fine weapon and does damage.