Üzenetek megjelenítése

Ez a szekció lehetővé teszi a felhasználó által írt összes hozzászólás megtekintését. Vedd figyelembe, hogy csak azokba a fórumokba írt hozzászólásokat látod, amelyekhez hozzáférésed van.


Üzenetek - asdpudingasd

Oldalak: 1 ... 5 6 [7] 8 9 ... 12
91
Archívum / Phone System
« Dátum: 2015. január 11. - 18:42:25 »
Létre volt hozva és egyiknek se jelezte ki, hogy Hívás van meg stb...

92
Archívum / Phone System
« Dátum: 2015. január 11. - 16:51:44 »
Így sem akar működni :S

93
Archívum / Phone System
« Dátum: 2015. január 11. - 15:26:29 »
Létre vannak hozva és ugyan ezt írja.
 

[2015-01-11 15:17:55] WARNING: phone-system/s_hotlines.lua:30: Bad argument @ \'getPlayersInTeam\' [Expected team at argument 1, got boolean]
[2015-01-11 15:17:55] ERROR: phone-system/s_hotlines.lua:30: bad argument #1 to \'ipairs\' (table expected, got boolean)
[2015-01-11 15:17:58] WARNING: phone-system/s_hotlines.lua:30: Bad argument @ \'getPlayersInTeam\' [Expected team at argument 1, got boolean]
[2015-01-11 15:17:58] ERROR: phone-system/s_hotlines.lua:30: bad argument #1 to \'ipairs\' (table expected, got boolean)

 
És még jött egy új is:
 

[2015-01-11 15:17:41] Resource \'phone-system\' changed, reloading and starting
[2015-01-11 15:17:41] WARNING: phone-system/c_phone_system.lua [Client] is encoded in ANSI instead of UTF-8.  Please convert your file to UTF-8.
[2015-01-11 15:17:41] Some files in \'phone-system\' use deprecated functions.
[2015-01-11 15:17:41] Use the \'upgrade\' command to perform a basic upgrade of resources.

94
Archívum / Phone System
« Dátum: 2015. január 11. - 09:10:47 »
Szerkesztve! Kiraktam a funkciót

95
Archívum / Phone System
« Dátum: 2015. január 10. - 23:10:17 »
Helló! Egy gondom akadt amit nem tudok megoldani  és a segítségeteket kérném :SSSS
 

[2015-01-10 22:28:45] WARNING: phone-system/s_hotlines.lua:146: Bad argument @ \'getPlayersInTeam\' [Expected team at argument 1, got boolean]
[2015-01-10 22:28:45] ERROR: phone-system/s_hotlines.lua:146: bad argument #1 to \'ipairs\' (table expected, got boolean)

 


function isNumberAHotline(theNumber)
local challengeNumber = tonumber(theNumber)
return challengeNumber == 911 or challengeNumber == 311 or challengeNumber == 411 or challengeNumber == 511  or challengeNumber == 611 or challengeNumber == 921 or challengeNumber == 1501 or challengeNumber == 1502 or challengeNumber == 8294 or challengeNumber == 7331 or challengeNumber == 7332 or challengeNumber == 864
end
function routeHotlineCall(callingElement, callingPhoneNumber, outboundPhoneNumber, startingCall, message)
local callprogress = getElementData(callingElement, \"callprogress\")
if callingPhoneNumber == 911 then
-- 911: Emergency Services and Police.
-- Emergency calls that they need to respond to.
if startingCall then
   outputChatBox(\"911 Operator [Cellphone]: 911 emergency. Please state your location.\", callingElement)
   exports[\'anticheat-system\']:changeProtectedElementDataEx(callingElement, \"callprogress\", 1, false)
else
   if (callprogress==1) then -- Requesting the location
      exports[\'anticheat-system\']:changeProtectedElementDataEx(callingElement, \"call.location\", message, false)
      exports[\'anticheat-system\']:changeProtectedElementDataEx(callingElement, \"callprogress\", 2, false)
      outputChatBox(\"911 Operator [Cellphone]: Can you describe your emergency please?\", callingElement)
   elseif (callprogress==2) then -- Requesting the situation
      outputChatBox(\"911 Operator [Cellphone]: Thanks for your call, we\'ve dispatched a unit to your location.\", callingElement)
      local location = getElementData(callingElement, \"call.location\")
 
      local playerStack = { }
      for key, value in ipairs( getPlayersInTeam( getTeamFromName( \"Los Santos Police Department\" ) ) ) do
         table.insert(playerStack, value)
      end
      for key, value in ipairs( getPlayersInTeam( getTeamFromName( \"State Police\" ) ) ) do
         table.insert(playerStack, value)
      end
      for key, value in ipairs( getPlayersInTeam( getTeamFromName( \"Los Santos Medical Services\" ) ) ) do
         table.insert(playerStack, value)
      end
      for key, value in ipairs( getPlayersInTeam( getTeamFromName( \"Los Santos Fire Department\" ) ) ) do
         table.insert(playerStack, value)
      end
      local affectedElements = { }
      for key, value in ipairs( playerStack ) do
         for _, itemRow in ipairs(exports[\'item-system\']:getItems(value)) do
            local setIn = false
            if (not setIn) and (itemRow[1] == 6 and itemRow[2] > 0) then
               table.insert(affectedElements, value)
               setIn = true
               break
            end
         end
      end
      for key, value in ipairs( affectedElements ) do
         outputChatBox(\"[RADIO] This is dispatch, We\'ve got an incident call from #\" .. outboundPhoneNumber .. \", Over.\", value, 0, 183, 239)
         outputChatBox(\"[RADIO] Situation: \'\" .. message .. \"\', Over.\", value, 0, 183, 239)
         outputChatBox(\"[RADIO] Location: \'\" .. tostring(location) .. \"\', Out.\", value, 0, 183, 239)
      end
      executeCommandHandler( \"hangup\", callingElement )
   end
end

 
A Segítségeteket előre is köszönöm

96
Archívum / MySQL Hiba
« Dátum: 2015. január 04. - 19:38:50 »
Épp ezaz , hogy az adatok helyesen vannak beírva. És tudok olvasni.

97
Archívum / MySQL Hiba
« Dátum: 2015. január 03. - 19:22:36 »
Hello! Olyan gondom támadt, hogy a MySQL-t nem akarja elindítani. Mi lehet a baja?
[2015-01-03 19:19:32] Stopping mysql
[2015-01-03 19:19:32] Resource \'mysql\' changed, reloading and starting
[2015-01-03 19:19:32] Starting mysql
[2015-01-03 19:19:32] ERROR: Unable to connect to mysql: (2003) Can\'t connect to MySQL server on \'mysqlgame.clans.hu\' (111)
[2015-01-03 19:19:32] Start up of resource mysql cancelled by script
[2015-01-03 19:19:32] Stopping mysql
[2015-01-03 19:19:32] ERROR: Unable to restart resource mysql
[2015-01-03 19:19:35] ERROR: vehicle-system/s_vehicle_system.lua:187: attempt to concatenate a nil value
[2015-01-03 19:19:38] Starting mysql
[2015-01-03 19:19:38] ERROR: Unable to connect to mysql: (2003) Can\'t connect to MySQL server on \'mysqlgame.clans.hu\' (111)
[2015-01-03 19:19:38] Start up of resource mysql cancelled by script
[2015-01-03 19:19:38] Stopping mysql
[2015-01-03 19:19:38] startResource: Failed to start resource \'mysql\'

98
Archívum / Megosztott FlyMTA
« Dátum: 2014. december 29. - 21:54:22 »
Azt a Módot nem nagyon használnám.  Egy teljesen Igénytelen fordítás + sok bug

99
Archívum / Admin Felirat
« Dátum: 2014. december 21. - 00:00:16 »
Hello! Az a problémá m támadt amikor bedutyzik az admin akkor csak piros lesz a neve. De én azt szeretném ,hogy ne csak piros legyen hanem a feje felett még azt is írja ki, hogy  ...
A Mód: Valhalla
A Szerver oldali Fájl: (Forrás: global/s_nametag_glolabs)
 

function updateNametagColor(thePlayer)
local username = getPlayerName(thePlayer)
if getElementData(thePlayer, \"loggedin\") ~= 1 then -- Not logged in
setPlayerNametagColor(thePlayer, 127, 127, 127)
elseif isPlayerAdmin(thePlayer) and getElementData(thePlayer, \"adminduty\") == 1 and getElementData(thePlayer, \"hiddenadmin\") == 0 then -- Admin duty
setPlayerNametagColor(thePlayer, 255, 0, 0)
setPlayerName( thePlayer, \"[Admin] \"..username )
elseif exports.donators:hasPlayerPerk(thePlayer, 11) then -- Donator
setPlayerNametagColor(thePlayer, 167, 133, 63)
elseif isPlayerGameMaster(thePlayer) and getElementData(thePlayer, \"account:gmduty\") then -- as duty
setPlayerNametagColor(thePlayer, 0, 255, 0)
else
setPlayerNametagColor(thePlayer, 255, 255, 255)
end
end
for key, value in ipairs( getElementsByType( \"player\" ) ) do
updateNametagColor( value )
end   

100
Archívum / Kocsi lefoglalás
« Dátum: 2014. december 09. - 20:26:43 »
Hello! Azt szeretném kérdezni ,hogy hogyan tudnám beállítani, hogy ne cska a biciklit tudja lefoglalni hanem a kocsikat is?
 

-- Command to impound Bikes:
function setbikeimpound(player, matchingDimension)
local leader = tonumber( getElementData(player, \"factionleader\") ) or 0
local rank = tonumber( getElementData(player, \"factionrank\") ) or 0
local veh = getPedOccupiedVehicle(player)
if (getElementData(player,\"faction\")) == 30 then
if (isPedInVehicle(player)) then
   if (getVehicleType(veh) == \"Bike\") or (getVehicleType(veh) == \"BMX\") then
      local owner = getElementData(veh, \"owner\")
      local faction = getElementData(veh, \"faction\")
      local dbid = getElementData(veh, \"dbid\")
      local impounded = getElementData(veh, \"Impounded\")
      if (owner > 0) then
         if (faction > 3 or faction < 0) then
            if (source == towSphere2) then
               --PD make sure its not marked as impounded so it cannot be recovered and unlock/undp it
               setVehicleLocked(veh, false)
               exports[\'anticheat-system\']:changeProtectedElementDataEx(veh, \"Impounded\", 0)
               exports[\'anticheat-system\']:changeProtectedElementDataEx(veh, \"enginebroke\", 0, false)
               setVehicleDamageProof(veh, false)
               setVehicleEngineState(veh, false)
               outputChatBox(\"((A járművet parkold le:  /park és húzd be a kéziféket: /kezifek.))\", player, 255, 194, 14)
            else
               if rank >= 5 then
                  if (getElementData(veh, \"faction\") ~= 30) then
                     if (impounded == 0) then
                        exports[\'anticheat-system\']:changeProtectedElementDataEx(veh, \"Impounded\", getRealTime().yearday)
                        setVehicleLocked(veh, false)
                        exports[\'anticheat-system\']:changeProtectedElementDataEx(veh, \"enginebroke\", 1, false)
                        setVehicleEngineState(veh, false)
                        outputChatBox(\"(( A bicikli sikeresen lefoglalva. ))\", player, 50, 205, 50)
                        outputChatBox(\"((A járművet parkold le:  /park és húzd be a kéziféket: /kezifek.))\", player, 255, 194, 14)
                        isin = false
                        exports.logs:logMessage(\"[iMPOUNDED BIKE] \" .. getPlayerName(player) .. \" impounded vehicle #\" .. dbid .. \", owned by \" .. tostring(exports[\'cache\']:getCharacterName(owner)) .. \", in \" .. table.concat({exports.global:getElementZoneName(veh)}, \", \") .. \" (pos = \" .. table.concat({getElementPosition(veh)}, \", \") .. \", rot = \".. table.concat({getVehicleRotation(veh)}, \", \") .. \", health = \" .. getElementHealth(veh) .. \")\", 14)
                     end
                  end
               else
                  local factionRanks = getElementData(getPlayerTeam(player), \"ranks\")
                  local factionRank = factionRanks[ 5 ] or \"awesome dudes\"
                  outputChatBox(\"A parancs kizárólag ettöl a rangtól használható: \" .. factionRank, player, 255, 194, 14)
               end
            end
         else
            outputChatBox(\"Ez a frakció jármű nem lefoglalható.\", player, 255, 194, 14)
         end
      end
   else
      outputChatBox(\"Ezt a parancsot csak lefoglalt bicikliknél és BMXeknél használhatod.\", player, 255, 194, 14)
   end
else
   outputChatBox(\"Nem vagy járműben.\", player, 255, 0, 0)
end
end
end
addCommandHandler(\"impoundbike\", setbikeimpound)

101
Archívum / Faction system
« Dátum: 2014. december 09. - 16:34:02 »
Koordináták, Dimenzió, Interior - Jól vannak beírva?

102
Archívum / Letöltési Probléma
« Dátum: 2014. december 08. - 17:55:50 »
1-es van de úgy se tölti

103
Archívum / Letöltési Probléma
« Dátum: 2014. december 07. - 20:06:32 »
Hello! Az a Problémám lenne, hogy amikor felmek szerverekre és ott alul megjelenik a Letöltési csík , de nekem nem tölt semmit se... Mi lehet a Probléma?

104
Archívum / Telefon ( 104 , 105, 107 )
« Dátum: 2014. december 06. - 18:49:17 »
Hello! Azt szeretném kérdezni ,hogy hogyan csinhatnám meg azt, hogy 911 helyet 112 legyen. Mert átírtam a Dolgokat de azt rja h ne létezik a 112-es szám
Itt a Szerkesztett:
 
function isNumberAHotline(theNumber)
local challengeNumber = tonumber(theNumber)
return challengeNumber == 112 or challengeNumber == 107 or challengeNumber == 104 or challengeNumber == 105  or challengeNumber == 511 or challengeNumber == 921 or challengeNumber == 1501 or challengeNumber == 1502 or challengeNumber == 8294 or challengeNumber == 7331 or challengeNumber == 7332 or challengeNumber == 864
end
function routeHotlineCall(callingElement, callingPhoneNumber, outboundPhoneNumber, startingCall, message)
local callprogress = getElementData(callingElement, \"callprogress\")
if callingPhoneNumber == 112 then
-- 911: Emergency Services and Police.
-- Emergency calls that they need to respond to.
if startingCall then
   outputChatBox(\"112 Operátor [TELEFONBA]: Itt a Segély hívó! Kérjük mondja meg a helyzetét.\", callingElement)
   exports[\'anticheat-system\']:changeProtectedElementDataEx(callingElement, \"callprogress\", 1, false)
else
   if (callprogress==1) then -- Requesting the location
      exports[\'anticheat-system\']:changeProtectedElementDataEx(callingElement, \"call.location\", message, false)
      exports[\'anticheat-system\']:changeProtectedElementDataEx(callingElement, \"callprogress\", 2, false)
      outputChatBox(\"112 Operátor [TELEFONBA]: Kérem mondja el, hogy mi történt\", callingElement)
   elseif (callprogress==2) then -- Requesting the situation
      outputChatBox(\"112 Operátor [TELEFONBA]: Köszönjük a hívását. Az egységeink már úton vannak.\", callingElement)
      local location = getElementData(callingElement, \"call.location\")
 
      local playerStack = { }
      for key, value in ipairs( getPlayersInTeam( getTeamFromName( \"Orsuágos Rendőr Fő Kapitányság\" ) ) ) do
         table.insert(playerStack, value)
      end
      for key, value in ipairs( getPlayersInTeam( getTeamFromName( \"Nemzeti Adó-és Vámhivatal\" ) ) ) do
         table.insert(playerStack, value)
      end
      for key, value in ipairs( getPlayersInTeam( getTeamFromName( \"Országos Mentő Szolgálat\" ) ) ) do
         table.insert(playerStack, value)
      end
      for key, value in ipairs( getPlayersInTeam( getTeamFromName( \"Hivatalos Onkormányzati Tűzoltóság\" ) ) ) do
         table.insert(playerStack, value)
      end
      local affectedElements = { }
      for key, value in ipairs( playerStack ) do
         for _, itemRow in ipairs(exports[\'item-system\']:getItems(value)) do
            local setIn = false
            if (not setIn) and (itemRow[1] == 6 and itemRow[2] > 0) then
               table.insert(affectedElements, value)
               setIn = true
               break
            end
         end
      end
      for key, value in ipairs( affectedElements ) do
         outputChatBox(\"[RADIO] Itt a Diszpécser központ! Hívás érkezett  #\" .. outboundPhoneNumber .. \" számról!\", value, 0, 183, 239)
         outputChatBox(\"[RADIO] Kérem, hogy a megfelelő egység induljon a hívásra!\", value, 0, 183, 239)
         outputChatBox(\"[RADIO] Szituáció: \'\" .. message .. \"\' \", value, 0, 183, 239)
         outputChatBox(\"[RADIO] Helyzet: \'\" .. tostring(location) .. \"\' \", value, 0, 183, 239)
      end
      executeCommandHandler( \"hangup\", callingElement )
   end
end
elseif callingPhoneNumber == 107 then
if startingCall then
   outputChatBox(\"107 Operátor [TELEFONBA]: Itt a Rendőrség. Kérjük adja meg a Pozicióját.\", callingElement)
   exports[\'anticheat-system\']:changeProtectedElementDataEx(callingElement, \"callprogress\", 1, false)
else
   if (callprogress==1) then -- Requesting the location
      exports[\'anticheat-system\']:changeProtectedElementDataEx(callingElement, \"call.location\", message, false)
      exports[\'anticheat-system\']:changeProtectedElementDataEx(callingElement, \"callprogress\", 2, false)
      outputChatBox(\"107 Operátor [TELEFONBA]: Kérjük mondja el, hogy mi történt\", callingElement)
   elseif (callprogress==2) then -- Requesting the situation
      outputChatBox(\"107 Operátor [TELEFONBA]: Köszönjük a hívását. Az egységeink már úton vannak\", callingElement)
      local location = getElementData(callingElement, \"call.location\")
      local affectedElements = { }
      for key, value in ipairs( getPlayersInTeam( getTeamFromName( \"Országos Rendőr Fő Kapitányság\" ) ) ) do
         for _, itemRow in ipairs(exports[\'item-system\']:getItems(value)) do
            local setIn = false
            if (not setIn) and (itemRow[1] == 6 and itemRow[2] > 0) then
               table.insert(affectedElements, value)
               setIn = true
               break
            end
         end
      end
      for key, value in ipairs( affectedElements ) do
         outputChatBox(\"[RADIO] Itt a Diszpécser központ! Hívás érkezett #\" .. outboundPhoneNumber .. \" számról!\", value, 245, 40, 135)
         outputChatBox(\"[RADIO] Indok: \'\" .. message .. \"\' \", value, 245, 40, 135)
         outputChatBox(\"[RADIO] Helyzet: \'\" .. tostring(location) .. \"\' \", value, 245, 40, 135)
      end
      executeCommandHandler( \"hangup\", callingElement )
   end
end
elseif callingPhoneNumber == 104 then
if startingCall then
   outputChatBox(\"104 Operátor [TELEFONBA]: Itt az OMSZ! Kérjük mondja el a helyzetét.\", callingElement)
   exports[\'anticheat-system\']:changeProtectedElementDataEx(callingElement, \"callprogress\", 1, false)
else
   if (callprogress==1) then -- Requesting the location
      exports[\'anticheat-system\']:changeProtectedElementDataEx(callingElement, \"call.location\", message, false)
      exports[\'anticheat-system\']:changeProtectedElementDataEx(callingElement, \"callprogress\", 2, false)
      outputChatBox(\"104 Operátor [TELEFONBA]: Kérjük mondja el, hogy mi történt\", callingElement)
   elseif (callprogress==2) then -- Requesting the situation
      outputChatBox(\"104 Operátor [TELEFONBA]: Köszönjü a hívását! Az Egységeink már úton vannak!\", callingElement)         
      local location = getElementData(callingElement, \"call.location\")
      local affectedElements = { }
      for key, value in ipairs( getPlayersInTeam( getTeamFromName(\"Los Santos Medical Services\") ) ) do
         for _, itemRow in ipairs(exports[\'item-system\']:getItems(value)) do
            local setIn = false
            if (not setIn) and (itemRow[1] == 6 and itemRow[2] > 0) then
               table.insert(affectedElements, value)
               setIn = true
               break
            end
         end
      end            
      for key, value in ipairs( affectedElements ) do
         outputChatBox(\"[RADIO] Bejelentés érkezett a #\" .. outboundPhoneNumber .. \" számról!\", value, 245, 40, 135)
         outputChatBox(\"[RADIO] Indok: \'\" .. message .. \"\', Over.\", value, 245, 40, 135)
         outputChatBox(\"[RADIO] Helyzet: \'\" .. tostring(location) .. \"\', Out.\", value, 245, 40, 135)
      end
      executeCommandHandler( \"hangup\", callingElement )
   end      
end
elseif callingPhoneNumber == 511 then
if startingCall then
   outputChatBox(\"511 Operátor [TELEFONBA]: Üdvözlöm! Ön a szerelőket hívta! Adja meg a Helyzetét.\", callingElement)
   exports[\'anticheat-system\']:changeProtectedElementDataEx(callingElement, \"callprogress\", 1, false)
else
   if (callprogress==1) then -- Requesting the location
      exports[\'anticheat-system\']:changeProtectedElementDataEx(callingElement, \"call.location\", message, false)
      exports[\'anticheat-system\']:changeProtectedElementDataEx(callingElement, \"callprogress\", 2, false)
      outputChatBox(\"511 Operátor [TELEFONBA]: Kérjük mondja el ,hogy mi történt.\", callingElement)
   elseif (callprogress==2) then -- Requesting the situation
      outputChatBox(\"511 Operátor [TELEFONBA]: Köszönjük a bejelentést! A Szerelő(k) már úton vannak.\", callingElement)         
      local location = getElementData(callingElement, \"call.location\")
      local affectedElements = { }
      for key, value in ipairs( getPlayersInTeam( getTeamFromName(\"Jármű Szervíz\") ) ) do
         for _, itemRow in ipairs(exports[\'item-system\']:getItems(value)) do
            local setIn = false
            if (not setIn) and (itemRow[1] == 6 and itemRow[2] > 0) then
               table.insert(affectedElements, value)
               setIn = true
               break
            end
         end
      end      
      for key, value in ipairs( affectedElements ) do
         outputChatBox(\"[RADIO] Hívás érkezett! Egy autó mentőt kérnék a helyszínre!\", value, 245, 40, 135)
         outputChatBox(\"[RADIO] Szituáció: \'\" .. message .. \"\' \", value, 245, 40, 135)
         outputChatBox(\"[RADIO] Helyzet: \'\" .. tostring(location) .. \"\', Tell. Szám:: \"..outboundPhoneNumber..\" \", value, 245, 40, 135)
      end
      executeCommandHandler( \"hangup\", callingElement )
   end      
end
elseif callingPhoneNumber == 105 then
if startingCall then
   outputChatBox(\"105 Operátor [TELEFONBA]: Itt a Tűzoltóság! Kérjük mondja el, hogy hol van.\", callingElement)
   exports[\'anticheat-system\']:changeProtectedElementDataEx(callingElement, \"callprogress\", 1, false)
else
   if (callprogress==1) then -- Requesting the location
      exports[\'anticheat-system\']:changeProtectedElementDataEx(callingElement, \"call.location\", message, false)
      exports[\'anticheat-system\']:changeProtectedElementDataEx(callingElement, \"callprogress\", 2, false)
      outputChatBox(\"105 Operátor [TELEFONBA]: Kérjük mondja el, hogy mi történt\", callingElement)
   elseif (callprogress==2) then -- Requesting the situation
      outputChatBox(\"105 Operátor [TELEFONBA]: Köszönjük! Az Egységek hamarosan kiérnek önhöz!.\", callingElement)         
      local location = getElementData(callingElement, \"call.location\")
      local affectedElements = { }
      for key, value in ipairs( getPlayersInTeam( getTeamFromName(\"Hivatalos Onkormányzati Tűzoltóság\") ) ) do
         for _, itemRow in ipairs(exports[\'item-system\']:getItems(value)) do
            local setIn = false
            if (not setIn) and (itemRow[1] == 6 and itemRow[2] > 0) then
               table.insert(affectedElements, value)
               setIn = true
               break
            end
         end
      end   
      for key, value in ipairs( affectedElements ) do
         outputChatBox(\"[RADIO] Bejelentés érkezett a #\" .. outboundPhoneNumber .. \" számról!.\", value, 245, 40, 135)
         outputChatBox(\"[RADIO] Indok: \'\" .. message .. \"\', \", value, 245, 40, 135)
         outputChatBox(\"[RADIO] Helyzet: \'\" .. tostring(location) .. \"\', \", value, 245, 40, 135)
      end
      executeCommandHandler( \"hangup\", callingElement )
   end      
end
elseif callingPhoneNumber == 921 then
if startingCall then
   outputChatBox(\"Operator [Cellphone]: Hex Tow \'n Go. Please state your location.\", callingElement)
   exports[\'anticheat-system\']:changeProtectedElementDataEx(callingElement, \"callprogress\", 1, false)
else
   if (callprogress==1) then -- Requesting the location
      exports[\'anticheat-system\']:changeProtectedElementDataEx(callingElement, \"call.location\", message)
      exports[\'anticheat-system\']:changeProtectedElementDataEx(callingElement, \"callprogress\", 2)
      outputChatBox(\"Operator [Cellphone]: Can you describe the situation please?\", callingElement)
   elseif (callprogress==2) then -- Requesting the situation
      outputChatBox(\"Operator [Cellphone]: Thanks for your call, we\'ve dispatched a unit to your location.\", callingElement)
      local location = getElementData(callingElement, \"call.location\")
      local affectedElements = { }
      for key, value in ipairs( getPlayersInTeam( getTeamFromName(\"Hex Tow \'n Go\") ) ) do
         for _, itemRow in ipairs(exports[\'item-system\']:getItems(value)) do
            local setIn = false
            if (not setIn) and (itemRow[1] == 6 and itemRow[2] > 0) then
               table.insert(affectedElements, value)
               setIn = true
               break
            end
         end
      end   
      for key, value in ipairs( affectedElements ) do
         outputChatBox(\"[RADIO] This is dispatch, We\'ve got an incident report from #\" .. outboundPhoneNumber .. \", Over.\", value, 0, 183, 239)
         outputChatBox(\"[RADIO] Situation: \'\" .. message .. \"\', Over.\", value, 0, 183, 239)
         outputChatBox(\"[RADIO] Location: \'\" .. tostring(location) .. \"\', Out.\", value, 0, 183, 239)
      end
      executeCommandHandler( \"hangup\", callingElement )
   end      
end
elseif callingPhoneNumber == 1501 then
if (publicphone) then
   outputChatBox(\"Computer voice [Cellphone]: This service is not available on this phone.\", callingElement)
else
   outputChatBox(\"Computer voice [Cellphone]: You are now calling with a secret number.\", callingElement)
   mysql:query_free( \"UPDATE `phone_settings` SET `secretnumber`=\'1\' WHERE `phonenumber`=\'\".. mysql:escape_string(tostring(outboundPhoneNumber)) ..\"\'\")
   --exports[\'anticheat-system\']:changeProtectedElementDataEx(callingElement,\"cellphone.secret\",1, false)
end
executeCommandHandler( \"hangup\", callingElement )
elseif callingPhoneNumber == 1502 then
if (publicphone) then
   outputChatBox(\"Computer voice [Cellphone]: This service is not available on this phone.\", callingElement)
else
   outputChatBox(\"Computer voice [Cellphone]: You are now calling with a normal number.\", callingElement)
   mysql:query_free( \"UPDATE `phone_settings` SET `secretnumber`=\'0\' WHERE `phonenumber`=\'\".. mysql:escape_string(tostring(outboundPhoneNumber)) ..\"\'\")
   --exports[\'anticheat-system\']:changeProtectedElementDataEx(callingElement,\"cellphone.secret\",0, false)
end
executeCommandHandler( \"hangup\", callingElement )
elseif callingPhoneNumber == 8294 then
if startingCall then
   outputChatBox(\"Taxi Operátor [TELEFONBA]: Itt az optic Taxi! Kérjük mondja el, hogy hol van\", callingElement)
   exports[\'anticheat-system\']:changeProtectedElementDataEx(callingElement, \"callprogress\", 1, false)
else
   local founddriver = false
   for key, value in ipairs(exports.pool:getPoolElementsByType(\"player\")) do
      local job = getElementData(value, \"job\")                  
      if (job == 2) then
         local car = getPedOccupiedVehicle(value)
         if car and (getElementModel(car)==438 or getElementModel(car)==420) then
            outputChatBox(\"[Új HÍVÁS] \" .. getPlayerName(callingElement):gsub(\"_\",\" \") ..\" | Tell. Szám:\" .. outboundPhoneNumber .. \" | Helyzet: \" .. message ..\".\" , value, 0, 183, 239)
            founddriver = true
         end
      end
   end
   if founddriver == true then
      outputChatBox(\"Taxi Operátor [TELEFONBA]: Köszönjük a hívását. Kérjük várjon míg a Taxi kiér önhöz.\", callingElement)
   else
      outputChatBox(\"Taxi Operátor [TELEFONBA]: Sajnos nincs szolgálatba 1 Taxis se..\", callingElement)
   end
   executeCommandHandler( \"hangup\", callingElement )
end
 

105
Archívum / Script Error
« Dátum: 2014. december 06. - 16:57:23 »
Hello! Azt szeretném kérdezni tőletek, hogy mi lehet a baj? Nem nyitja meg az ablakot
Log ezt írja:
[2014-12-06 16:52:40] WARNING: Script \'donators/g_donation_perks.lua\' is not encoded in UTF-8.  Loading as ANSI...
[2014-12-06 16:52:40] SCRIPT ERROR: donators/g_donation_perks.lua:1: unexpected symbol near \'?\'
[2014-12-06 16:52:40] ERROR: Loading script failed: donators/g_donation_perks.lua:1: unexpected symbol near \'?\'
[2014-12-06 16:52:40] WARNING: Script \'donators/g_donation_data.lua\' is not encoded in UTF-8.  Loading as ANSI...
[2014-12-06 16:52:40] SCRIPT ERROR: donators/g_donation_data.lua:1: unexpected symbol near \'?\'
[2014-12-06 16:52:40] ERROR: Loading script failed: donators/g_donation_data.lua:1: unexpected symbol near \'?\'
[2014-12-06 16:52:40] donators restarted successfully
[2014-12-06 16:52:42] ERROR: donators/s_donation_gui.lua:37: bad argument #1 to \'ipairs\' (table expected, got nil)

Oldalak: 1 ... 5 6 [7] 8 9 ... 12
SimplePortal 2.3.7 © 2008-2025, SimplePortal