Jump to content

Fortitu

Members
  • Posts

    6
  • Joined

  • Last visited

Fortitu's Achievements

Vic

Vic (3/54)

0

Reputation

  1. I have same problem, I never used any hacks or cheats.
  2. Every time, when I try to connect to any server I've got this error: "Timed out code: 819B00B5". I tried reinstalling MTA:SA, rebooting router, restarting PC, turning firewall off, but still nothing helps. Does anyone know the solution of this problem, please?
  3. It works! Thank you very much.
  4. I sent bad error, my mistake I'm sorry. That was error of something else. My problem is not writing errors to log, but it's not working too. There is code: function callphonenumber(thePlayer, cmd, tostring(phonenumber2), ...) if phonenumber2 then -- PHONENUMBER2 if (phonenumber2 == "222222222") then local player2 = getPlayerFromName("Ervin_Balog") elseif (phonenumber2 == "755167267") then local player2 = getPlayerFromName("Alex_James") elseif (phonenumber2 == "752786786") then local player2 = getPlayerFromName("John_Skot") elseif (phonenumber2 == "756842354") then local player2 = getPlayerFromName("Bohumil_Jentky") end -- PHONENUMBER1 if (getPlayerName(thePlayer) == "Ervin_Balog") then local phonenumber1 = "222222222" elseif (getPlayerName(thePlayer) == "Alex_James") then local phonenumber1 = "755167267" elseif (getPlayerName(thePlayer) == "John_Skot") then local phonenumber1 = "752786786" elseif (getPlayerName(thePlayer) == "Bohumil_Jentky") then local phonenumber1 = "756842354" end if player2 and phonenumber1 then local msg = table.concat({...}, " ") if (msg and msg ~= "") then outputChatBox("[PHONE-"..phonenumber1.."]: ".. msg .." ",player2,255,150,30,true) outputChatBox("Message has been sent.",thePlayer,255,150,30,true) end end end end addCommandHandler("phone",callphonenumber)
  5. Thanks! It works. But I have another problem now, do you know what means this error:
  6. I created phone system and I have command to get your phone number. But it's not work. There is code: function getphonenumber(thePlayer, cmd) if (getPlayerName(thePlayer) == "Ervin_Balog") then local phonenumber3 = "222222222" end if (getPlayerName(thePlayer) == "Alex_James") then local phonenumber3 = "755167267" end if (getPlayerName(thePlayer) == "John_Skot") then local phonenumber3 = "752786786" end if phonenumber3 then outputChatBox("Your phone number is "..phonenumber3..".",thePlayer,255,150,30,true) end end addCommandHandler("getphone",getphonenumber) (It's not writing any errors to log.)
×
×
  • Create New...