Jump to content

Hermago

Member
  • Posts

    10
  • Joined

  • Last visited

Everything posted by Hermago

  1. hello. i read your code and see a missing character (the last one) in this line Events.OnGameStart.Add(function() Events.OnGameStart.Add(function()) try again and if don't run i search another thing
  2. i'll try to understand but my english is poor... try to translate "Toothbrush"? in the lua folder you can create a folder called "shared" and inside another folder called "Translate" inside create a last folder and call... what language you want? for example "ES" into spanish language. Inside put your translate files... spanish example is a file called "items_Name_ES" but russian and other languages is diferent (search inside translate in this forum). The code is like ItemName_ES = { ItemName_Toothbrush = "Cepillo de dientes", } or maybe this ItemName_ES = { ItemName_base.Toothbrush = "Cepillo de dientes", } Some items need another file for displayed name, spanish example is a file called "items_ES" and the code is like ItemName_ES = { DisplayName_Toothbrush = "Cepillo de dientes", } or maybe this ItemName_ES = { DisplayName_base.Toothbrush = "Cepillo de dientes", } Don't forget save as ANSI both files.
  3. i can suggest a search in youtube for Daddy Dirkie dirk and see tutorials about add your custom furniture and overlays. Is very easy with tilezed (or i thing that). If you can't then ask again :3
  4. idea 1: you can modify tile properties? something like, TileBlockStyle then select solid.
  5. i suggest: use polygon, not linestring. worldmap.xml
  6. Like this? https://drive.google.com/drive/folders/1cu_5LZxRgeTVpDEJQw4OWeGB_Fa-KIbc?usp=share_link
  7. SafeHouse info getOwner? setOwner? isOwner? all methods are listed but what do you need?
  8. Hello. My english is poor, sorry, but i understand your problem and suggest put a number if answer is nothing or put some number before. Error comes when try to translate some null (nil) to string. Examples: function zedkills() local player = getSpecificPlayer(0); if player:getZombieKills() ~= nil then local zedskilled = player:getZombieKills(); else local zedskilled = 0; end local writer = getFileWriter("zkills.txt", true, false); writer:write(tostring(zedskilled)); writer:close(); end or something like this function zedkills() local player = getSpecificPlayer(0); local zedskilled = player:getZombieKills(); if zedskilled ~= nil then local zedskilled = player:getZombieKills(); else local zedskilled = 0; end local writer = getFileWriter("zkills.txt", true, false); writer:write(tostring(zedskilled)); writer:close(); end or this function zedkills() local player = getSpecificPlayer(0); local zedskilled = 0; if player:getZombieKills() ~= nil then local zedskilled = player:getZombieKills(); end local writer = getFileWriter("zkills.txt", true, false); writer:write(tostring(zedskilled)); writer:close(); end i suggest number 2 becouse only need a copy paste
×
×
  • Create New...