Jump to content

HDmaster0702

Members
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

1 Neutral

About HDmaster0702

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. No. At the end of the function put the spawnPlayer. You don't need the onPlayerSpawn.
  2. Egyébként szerintem jobb lenne, ha dx edit boxot használnál. Írj rám facen és megmutatom már, ha még megvagyok neked.
  3. You haven't called the spawnPlayer function in the onPlayerWasted Event. It's not automatically calling spawnPlayer.
  4. function darmanKardan (thePlayer, command, player) local taraf = getPlayerFromName(player) if player then setElementData(taraf,"healrequest", "pending") outputChatBox("#00ff00The doctor is willing to heal you. Do you accept?", taraf, 255, 255, 255, true) else outputChatBox("#ff0000Syntax: /heal <Name>", thePlayer, 255, 255, 255, true) end end addCommandHandler("heal", darmanKardan) function acceptHeal (thePlayer, command) local requestStatus = getElementData(thePlayer, "healrequest") if (requestStatus = "pending") then setElementData(player,"healrequest", "unpending") s
  5. You've haven't put quote marks around the pending at the 4. line. Putting them should fix it.
  6. Hali, ha jól sejtem, akkor amikor bemész az interiorba megváltozik a dimenziód és interiorod. Próbáld meg megváltoztatni az object dimenzióját és interiorját, a targoncájéra/a tiédre. function changeDimNInt(thePlayer, object) setElementDimension(object, getElementDimension(thePlayer)) setElementInterior(object, getElementInterior(thePlayer)) end Ehhez hasonlóan.
×
×
  • Create New...