Jump to content

zombienation

Members
  • Posts

    314
  • Joined

  • Last visited

Everything posted by zombienation

  1. hm that makes sence do you know how i can finnish it?
  2. hello, i have found a small bug in a vehicle panel, the script says there is a limit of 2 spawns, but the limit dont work the same script file have something that blocks rhino and hunter, that works, but the limit not, is there somebody who could tell me how i can fix this please?? thank you ----------------------------------------------------------------------------------- ---------------------------------------------------------------------------------- ---------------------------------------------------------------- ----------------------------------------------------------------------------------- ---------------------------------------------------------------------------------- ------------------SCRIPT BY TAALASMAA (C) DO NOT EDIT THIS WITHOUT PERMISSIONS----- ----------------------------------------------------------------------------------- disallowedVehicle = {{425},{432}} -- RHINO AND HUNTER -- ----------------------------------------- ---------------------------------------- --------CARSPAWN LIMIT------------------ carSpawnLimit = {{"2"}} -- can be changed -- NOT IN USE IN 0.1!!!!!! --- ---------------------------------------- ---------------------------------------- -------------------------- ------------------------- function spawnAcar(carID) for i,v in ipairs (disallowedVehicle) do if (v[1] == carID) then outputChatBox("This is disallowed vehicle!",source,255,0,0) return false end end playerX,playerY,playerZ = getElementPosition(source) vehicle = createVehicle(carID,playerX + 2,playerY +2, playerZ) end addEvent("onPlayerWantToSpawn",true); addEventHandler("onPlayerWantToSpawn",getRootElement(),spawnAcar) ----------------------------------------------------------------------------------- -----------------------------------------------------------------------------------
  3. hello, i am trying to add more then one drop off locations for truckerjob, the script i have gives one drop off location for each truck/ trucktrailer, i'd like to know how i can add more locations and also that the locations are given randomly and not in order.. is this possible, how? here is the original drop off script theTruckTrailerID = getElementModel (source) local theDriver = getVehicleOccupant ( theTruck, 0 ) if ( theDriver ) and ( theTruckTrailerID == 584 ) then outputChatBox ("Bring the trailer to the flag.", theDriver, 255, 0, 0, false) theFinishMarker = createMarker ( -1605.90, -2713.98, 46.53, "cylinder", 16, 0, 255, 0, 90, theDriver ) theFinishBlip = createBlip ( -1605.90, -2713.98, 46.53, 53, 2, 255, 0, 0, 255, 0, 99999.0, theDriver )
  4. Its a nightclub with music and i changed the mp3 file from it So then i would have to add a script to add the music in the nightclub, as a normal resource and not map so its not bounded in the maps meta i guess? I tried a script like that once but it didnt worked out very well lol
  5. thx again man i already learned a lot from your help
  6. hello, i would like to find out how to add skin mods manually without using the modloader script, i was trying to do it with a script i have on the pc of a carmod, i tried to change reloadcar to reloadskin and such changings but it didn't worked, is this possible to do it for skins to by using this or parts of this scripts? if yes what do i have to do for it? thanks function replaceModel() txd = engineLoadTXD("banshee.txd", 429 ) engineImportTXD(txd, 429) dff = engineLoadDFF("banshee.dff", 429 ) engineReplaceModel(dff, 429) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) addCommandHandler ( "reloadcar", replaceModel )
  7. Alright thx solidsnake
  8. Ah so in my case thats normal. Then i need to download mysql first right?
  9. Ok guys thx now i know this In one map i have an mp3 file, does that count as map file or is the mp3 just a one time download? It is linked in the metafile of the map
  10. Thx guys for all the help with this. The last script thats posted here is without errors but it dont save the time when reconnect. With the script before the last one thats posted, i believe it saves the time but still one error. Same as before, different linenumber And also this error dont repeats but just shows in console when connecting or leqving. I have the resource in my acl in resources group
  11. thx solid this solves the error and warnings, but is it possible that it stays on 0 minutes in scoreboard? i added it and restarted the server, i connected, and i reconnected just to be sure, and after login i went outside to smoke, but when i came back inside it was still on 0 minutes..
  12. hey, when i log off the server or reconnect i get a warning and an error and they repeat themself without ending warning = bad argument @ getelementdata expected element at argument 1 error = attempt to perform arithemetic on local 'totaltime' ( a boolean value ) i added the script you gave me in a new lua file, i saved it in a meta file on server side ( same meta where other scoreboard scripts are in ) also that foldername is in the acl with admin group did i did something wrong or do you know what brings the warning and error? time saving works after reconnecting u can see it was saved, but the warning and errors keeps repeating lol
  13. thanks for sharing man this works u just tried it
  14. yes i did,.. but i have read on a topic that somebody changed the resource name in acl with normal letter to caps (In that topic it was about a gamemode i dont have) landscore = LANDSCORE could this fix it? if not then its probaly an other resource, cuz when i start the country id for scoreboard, it dont give warnings when connecting, only the bad argument when starting the resource Edit: hmm i think i found it, when i start warpanel then it gave the warning in console, i have tested it a few times with the resource now since i saw it in console, i added warpanel in admin group in the acl and now i dont have the warning in console, thx for helping !
  15. hey solidsnake, i am testing resource one by one, when i start the script wich shows what country the player is from in the scoreboard, i get this in console: bad argument @ getclientip should this could cause the "acces denied @ getclientip warning? just to be sure i'm going to check out the rest of the resources
  16. Ok thx man, but how do i know wich resource that brings that warning? Do i need to test it resource by resource by resource or can i see it somewhere? Could modloader cause this?
  17. Hello, I have these warning when people connect to the server. Warning: acces denied @ getclientip I have bin searching the forum for an answer but i found many topics found on the word client lol. There was one topic where they talked about it and i think they fixed it with something in the acl file.. When i get this warning. Short after it, many people quit, but others are able to connect and login Thx for ur time
  18. Okaay thx man. One more question, when i set a map in an other dimension will it still work in the normal dimension? Thx
  19. Hello, I wanna make some special missions, but for that i'd like to know how, or if it is possible, To use resources like maps or zombies in another dimension? It would be fun for builders to know how to do this i think Thanks guys
  20. Hello, When people want to connect to my server they download the files in two parts.. first part are the maps and the rest is a one time download of the resources how can i fix it that maps also download one time? Is there a way to solve this? Thank you
  21. i also did for the zombiekills but i didn't opened the whole list i found, maybe 10 topics, but your reply here was the clearest actually but i'll search deeper for the time, thx
  22. ah about my last question never mind i created a lua file forry for being so slow it works idd btw thx man ! do you also know how i can fix hours played?
  23. you mean the zombies script or the gamemode? hmm thanks , but where do i have to copy this ?
  24. Hello, I would like to know how to add the zombiekills and hours played into the scoreboard and save system? Can anybody help me please? Thanks
×
×
  • Create New...