Mike269 Posted March 23, 2015 Share Posted March 23, 2015 Hello guys I would like to know how can I make a zone that zombies can't enter, like they die when they try to enter, colored zone or somethin.. + I really need level system connected with zombies and cool zombies If anyone know some zombie scripts please share them with me, because I'm making Zombie RPG server, thanks! Link to comment
Enargy, Posted March 23, 2015 Share Posted March 23, 2015 Hello guys I would like to know how can I make a zone that zombies can't enter, like they die when they try to enter, colored zone or somethin..+ I really need level system connected with zombies and cool zombies If anyone know some zombie scripts please share them with me, because I'm making Zombie RPG server, thanks! You can use this: setElementData createRadarArea createColRectangle onColShapeHit/onColShapeLeave -- Events I found a level system that might be good for you: https://community.multitheftauto.com/in ... ls&id=8663 Link to comment
Mike269 Posted March 23, 2015 Author Share Posted March 23, 2015 well you gave me the code how I can start a script but there's a problem that I cannot script and thanks for level system Link to comment
Mike269 Posted March 23, 2015 Author Share Posted March 23, 2015 well this level system is compilled and that what's wrong , I want to edit it Link to comment
Enargy, Posted March 23, 2015 Share Posted March 23, 2015 You can do this by setElementData/getElementData. learn about scripting. https://wiki.multitheftauto.com/wiki/Main_Page Link to comment
Mike269 Posted March 23, 2015 Author Share Posted March 23, 2015 But learning will take years for me hahahahaha Link to comment
HUNGRY:3 Posted March 24, 2015 Share Posted March 24, 2015 nah learning scripting is easy Link to comment
FlyingSpoon Posted March 24, 2015 Share Posted March 24, 2015 Not really, it won't take years, It depends on how active you are and if you believe in yourself and say to yourself that you can do it. Than it'll take you less than a year ! : ) Link to comment
xeon17 Posted March 24, 2015 Share Posted March 24, 2015 Not really, it won't take years,It depends on how active you are and if you believe in yourself and say to yourself that you can do it. Than it'll take you less than a year ! : ) In my opinion learning scripting and Lua is pretty easy but depends how you learn and do you realy want it. I saw a lot peoples asking for help in scripting forum but the only thing they want is that someone do all the work for them and after a year they didn't learned anything that's bad. Link to comment
[PXG]Blue Posted March 24, 2015 Share Posted March 24, 2015 taken from my save zone script ( near the 0 coordinate ) only works if the script spawns "peds" ( wich is most likely ) safearea = createColRectangle( 1.9072265625, 0.46875, 50, 100 ) safezone = createRadarArea( 2.43359375, 1.63671875, 50, 100, 0, 255, 0, 255, root ) function savezoneenter( thePlayer, matchingDimension ) if(getElementType(thePlayer) == "ped") then killPed( thePlayer ) end end addEventHandler ( "onColShapeHit", safearea, savezoneenter ) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now