Ü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.


Témák - asdpudingasd

Oldalak: 1 2 [3] 4 5
31
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   

32
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)

33
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?

34
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
 

35
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)

36
Archívum / Hang lejátszás
« Dátum: 2014. December 01. - 19:42:59 »
Hello! Hogyan tudnám megoldani , hogy ezt mindenki hallja a szerveren?
 

 
function PDGarageAlarm ()
 
local x, y, z = getElementPosition(source)
PDAlarm = playSound3D(\"alarm.wav\",xyz, true)
setTimer(stopPDAlarm, 60000, 1, client)
setSoundVolume(PDAlarm, 3)
setSoundMaxDistance(PDAlarm, 100)
 
end
addCommandHandler(\"alarm\", PDGarageAlarm)
 
function stopPDAlarm ()
 
stopSound (PDAlarm)
end
 

37
Archívum / Vehicle system
« Dátum: 2014. November 28. - 19:16:18 »
Hello! Segítségeteket kérném!
Amikor /makecivveh-vel leszeretném rakni a Kocsit akkor nem teszi le. Mindent jól kitöltöttem. A Log ezt írja:
[2014-11-28 20:03:08] ERROR: mysql/connection.lua:206: bad argument #2 to \'mysql_escape_string\' (string expected, got nil)
[2014-11-28 20:03:08] ERROR: mysql/connection.lua:206: bad argument #2 to \'mysql_escape_string\' (string expected, got nil)
[2014-11-28 20:03:08] ERROR: vehicle-system/s_vehicle_system.lua:178: call: failed to call \'mysql:escape_string\'
[2014-11-28 20:03:08] ERROR: vehicle-system/s_vehicle_system.lua:178: attempt to concatenate a boolean value

38
Archívum / Hex Kód
« Dátum: 2014. November 27. - 19:06:21 »
Hello! Azt szeretném kérdezni, hogy hogyan tudnám használni a Hex Kódot?
A)  outputChatBox(\"#FF0000Teszt\")
B)  outputChatBox(\"#FF0000Teszt\", 255, 255, 255)
C)  outputChatBox(\"#FF0000Teszt\", 0, 0, 0)

39
Archívum / Localhost-os Szerver készítése
« Dátum: 2014. November 22. - 16:15:15 »
Hello! Azt szeretném kérdezni, hogy hogyan tudnék Localhost-os RP szervert csinálni phpMyAdminnal? ( Tesztre )
A XAMPP-ot és a WampServer-t Próbáltam. A XAMPP Erre a hibára hvatkozott:
16:13:57  [Apache]    Error: Apache shutdown unexpectedly.
16:13:57  [Apache]    This may be due to a blocked port, missing dependencies,
16:13:57  [Apache]    improper privileges, a crash, or a shutdown by another method.
16:13:57  [Apache]    Press the Logs button to view error logs and check
16:13:57  [Apache]    the Windows Event Viewer for more clues
16:13:57  [Apache]    If you need more help, copy and post this
16:13:57  [Apache]    entire log window on the forums
( és ugyan úgy a MySQL is ezt írja )
És a WampServer pedig egy DLL Fájl hiányra
 És még az a kérdésem ,hogy ha ez mind megvan és stb..  a mysql Csatlakozást hogy oldjam meg? Azaz:
Mit írjak a jelszóhoz és a felhasználónév-hez?

40
Archívum / Kocsi mód Obejctre
« Dátum: 2014. November 04. - 19:00:54 »
Hello! Az a kérdésem lenn ,hogy egy adott kocsimódot ( Pl: Hajó mód ) lehetne-e egy Objectre rámodolni?

41
Archívum / /givemoney bug
« Dátum: 2014. Október 16. - 09:42:24 »
Hello! Valamiért nem müködik a /givemoney se a /setmoney. Mit tegyek?  a Segítségeteket előre köszönöm!
function setMoney(thePlayer, commandName, target, money)
if (exports.global:isPlayerLeadAdmin(thePlayer)) then
   local money = tonumber((money:gsub(\",\",\"\")))
   if not (target) then
      outputChatBox(\"SYNTAX: /\" .. commandName .. \" [Partial Player Nick] [Money]\", thePlayer, 255, 194, 14)
   else
      local username = getPlayerName(thePlayer)
      local targetPlayer, targetPlayerName = exports.global:findPlayerByPartialNick(thePlayer, target)
      if targetPlayer then
         exports.logs:dbLog(thePlayer, 4, targetPlayer, \"SETMONEY \"..money)
         exports.global:setMoney(targetPlayer, money)
         outputChatBox(targetPlayerName .. \" now has \" .. exports.global:formatMoney(money) .. \" $.\", thePlayer)
         outputChatBox(\"Admin \" .. username .. \" set your money to \" .. exports.global:formatMoney(money) .. \" $.\", targetPlayer)
      end
   end
end
end
addCommandHandler(\"setmoney\", setMoney, false, false)
function giveMoney(thePlayer, commandName, target, money)
if (exports.global:isPlayerLeadAdmin(thePlayer)) then
   local money = tonumber((money:gsub(\",\",\"\")))
   if not (target) then
      outputChatBox(\"SYNTAX: /\" .. commandName .. \" [Partial Player Nick] [Money]\", thePlayer, 255, 194, 14)
   else
      local username = getPlayerName(thePlayer)
      local targetPlayer, targetPlayerName = exports.global:findPlayerByPartialNick(thePlayer, target)
      if targetPlayer then
         exports.logs:dbLog(thePlayer, 4, targetPlayer, \"GIVEMONEY \" ..money)
         exports.global:giveMoney(targetPlayer, money)
         outputChatBox(\"You have given \" .. targetPlayerName .. \" $\" .. exports.global:formatMoney(money) .. \".\", thePlayer)
         outputChatBox(\"Admin \" .. username .. \" has given you $\" .. exports.global:formatMoney(money) .. \".\", targetPlayer)
      end
   end
end
end
addCommandHandler(\"givemoney\", giveMoney, false, false)

42
Archívum / Hang megváltoztatása
« Dátum: 2014. Október 12. - 02:02:23 »
Hello! Hogyan lehet megváltoztatni a Sziréna hangját ( Rendőr/Mentő / Tűzoltó kocsikon | ALAP H Betű )

43
Archívum / shop-system hiba
« Dátum: 2014. Szeptember 26. - 18:36:55 »
Hello! Az lenne a kérdésem ,hogy mitől lehet az , hogy a Boltos NPC-nél nem lehet fegyvert venni Csak itemet. ( Fegyverbe beleértem: Biliárd Dákó, Baseball ütő , Meg stb.. és a Fegyveres NPV-nél se adja oda )
A Log ennyit ír:
[2014-09-26 18:32:50] ERROR: shop-system/s_generalshop_system.lua:235: call: failed to call \'global:isPlayerPearlDonator\'
[2014-09-26 18:32:50] ERROR: shop-system/s_generalshop_system.lua:237: call: failed to call \'global:isPlayerSilverDonator\'
[2014-09-26 18:32:55] ERROR: shop-system/s_generalshop_system.lua:235: call: failed to call \'global:isPlayerPearlDonator\'
[2014-09-26 18:32:55] ERROR: shop-system/s_generalshop_system.lua:237: call: failed to call \'global:isPlayerSilverDonator\'

44
Archívum / MySQL
« Dátum: 2014. Szeptember 13. - 18:39:00 »
[2014-09-13 18:34:58] ERROR: account-system/s_account_system_sapphire.lua:1026: call: failed to call \'mysql:escape_string\'
[2014-09-13 18:34:58] ERROR: mysql/connection.lua:210: attempt to call global \'mysql_escape_string\' (a nil value)
[2014-09-13 18:34:58] ERROR: mysql/connection.lua:210: attempt to call global \'mysql_escape_string\' (a nil value)
[2014-09-13 18:34:58] ERROR: account-system/s_account_system_sapphire.lua:1027: call: failed to call \'mysql:escape_string\'
[2014-09-13 18:34:58] ERROR: account-system/s_account_system_sapphire.lua:1029: attempt to concatenate local \'safeusername\' (a boolean value)
[2014-09-13 18:35:14] ERROR: mysql/connection.lua:210: attempt to call global \'mysql_escape_string\' (a nil value)
[2014-09-13 18:35:14] ERROR: mysql/connection.lua:210: attempt to call global \'mysql_escape_string\' (a nil value)
[2014-09-13 18:35:14] ERROR: account-system/s_account_system_sapphire.lua:1026: call: failed to call \'mysql:escape_string\'
[2014-09-13 18:35:14] ERROR: mysql/connection.lua:210: attempt to call global \'mysql_escape_string\' (a nil value)
[2014-09-13 18:35:14] ERROR: mysql/connection.lua:210: attempt to call global \'mysql_escape_string\' (a nil value)
[2014-09-13 18:35:14] ERROR: account-system/s_account_system_sapphire.lua:1027: call: failed to call \'mysql:escape_string\'
[2014-09-13 18:35:14] ERROR: account-system/s_account_system_sapphire.lua:1029: attempt to concatenate local \'safeusername\' (a boolean value)
[2014-09-13 18:35:36] ERROR: @apps-system/s_apps.lua:15 mysql/connection.lua:63: attempt to call global \'mysql_ping\' (a nil value)
[2014-09-13 18:35:36] ERROR: apps-system/s_apps.lua:4: call: failed to call \'mysql:query_fetch_assoc\'
Mi lehet  a baj? Megpróbáltam \"localhost\"-on \"127.0.0.1\"-en és a phpMyAdmin elérési IP Címén is. De valamiért nem engedni regisztrálni.

45
Archívum / MySQL Resource indítási gond
« Dátum: 2014. Augusztus 28. - 11:59:48 »
Hello! Amikor elindítom  a szervert akkor valamiért nem akkar bejelentkezni/Regisztrálni. Miel ACL-be benne vagyok ezér F8-ba írtamh stop mysql akkor ezt írta rá:
stop: Resource is not running
És Amikor beírtam /start mysql akkor ezt írta rá:
start: Resource \'mysql\' start was requested (Start up of resource cancelled by script )
Ezzel még sose találkoztam ilyennel. Mi lehet a hiba? :SSS

Oldalak: 1 2 [3] 4 5
SimplePortal 2.3.7 © 2008-2024, SimplePortal