Witam,pobra?em paczk? FutureRPG,wgra?em wszystko jak nale?y,pod??czy?em baz? danych i nie dzia?a logowanie. Zadne b??dy nie wyskakuj?. Prosz? o pomoc,dzi?kuje
Czesc, potrzebuje Porady co zrobic z XyzzyRp mam wszystko dobrze podpiete DB , DB2 , modules itp. a i tak niemozna sie zalogowac wgl nic nie dziala, moge sie zarejestrowac ale juz nie zalogowac tu bledy z konsoli
[XyzzyRP]/lss-core/auth.lua:30: call: failed to call 'DB:esc' [string "?"]
[XyzzyRP]/lss-core/auth.lua:30: bad argument #2 to 'format' (string expected, got boolean)
Siemka chcia?bym sie nauczyc robienia syren swietlnych na m?j sewrer za pomoc? siren editora czy ktos moze wyt?umaczyc gdzie co jest i jak to zrobic ps konkretnie do wozu o nazwie bullet na pojedyncze swiat?o w srodku przy szybie zeby by? tajnakiem
[lua]--[[
This script was made by Xownage, please do not re-release any part of this script without xownage's permission
--]]
player = getRootElement()
function clickmenupd (mouseButton, buttonState, clickedElement, worldPosX, worldPosY, worldPosZ, screenPosX, screenPosY)
-- outputChatBox ("1")
if ( buttonState == "down" ) then
-- outputChatBox ("2")
local team = getPlayerTeam(source)
if team then
if getTeamName(team) == "DUPA" and isObjectInACLGroup ( "user."..getAccountName(getPlayerAccount(source)), aclGetGroup("RCON")) then
-- outputChatBox ("3")
if ( getElementData ( source, "pdclickopen" ) == false ) then
-- outputChatBox ("4")
if ( getElementData (source, "pdmousebind") == true ) then
-- outputChatBox ("5")
if ( mouseButton == "right" ) then
if ( clickedElement ) then
function sprawdzStrefeTuningu(hitElement)
if getElementType(hitElement) == "player" then
local acc = getPlayerAccount(hitElement)
if acc then
local login = getAccountName(acc)
if isObjectInACLGroup ("user."..login, aclGetGroup ("Everyone")) then
local veh = getPedOccupiedVehicle(hitElement)
if not veh then
local elements = getElementsWithinColShape (strefa, "vehicle")
if #elements == 1 then
if not tuningTable[hitElement] then
local veh = elements[1]
local aktualnyTuning = getVehicleUpgrades(veh)
vehInCol = {}
vehInCol[veh] = hitElement
end
else
if #elements == 0 then
outputChatBox("W strefie tuningu nie ma pojazdu.", hitElement, 255, 255, 255, true)
else
outputChatBox("W strefie tuningu jest wi?cej ni? jeden pojazd.", hitElement, 255, 255, 255, true)
end
end
end
end
end
end
end
addEventHandler(...
Witam posiadam serwer na server project
i Pobra?em gotowy gamemode Your Adventure w sf
i chcia?bym doda? logowanie itp ?eby all dzia?alo jak trzeba to jak to zrobi???
Pls prosz? o pomoc
local function follow()
local dokogo=getElementData(localPlayer,"kajdanki")
if (not dokogo or not isElement(dokogo)) then
setElementData(localPlayer,"kajdanki", nil)
removeEventHandler("onClientPreRender", root, follow)
triggerServerEvent("setPedAnimation", localPlayer)
return
end
if (getPedOccupiedVehicle(dokogo) or getElementInterior(dokogo)~=getElementInterior(localPlayer) or getElementDimension(dokogo)~=getElementDimension(localPlayer)) then
setElementData(localPlayer,"kajdanki", nil)
removeEventHandler("onClientPreRender", root, follow)
triggerServerEvent("setPedAnimation", localPlayer)
return
end
local x,y,z=getElementPosition(dokogo)
local x2,y2,z2=getElementPosition(localPlayer)
local kat=0
kat=math.deg(math.atan(-1*(x2-x)/(y2-y)))
if (y2-y)<0 then
kat=kat+180.0
end
kat=(kat+180)%360
Pobra?am sobie skrpyt na hud i mam problem z nim :[
Chce go miec na gorze a jest na dole i go nie widac bo mam speedometer
kod :
-- Made By XX3, from scratch with MS Notepad. Purpose: To make a new exotic compact HUD.
-- You may edit this resource, but please credit me if you wanted to post an edited / extended version.
-- PS: I was in MTA SA to show what Indonesia is really made of!