Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: zalogowaniu
1. jak zrobić aby przy zalogowaniu gracza odrazu mu dawało prem
jak zrobi? aby przy zalogowaniu gracza odrazu mu dawa?o premium?
2. InsideMTA - blond po zalogowaniu się.
Siema. Naprawi?em sobie panel logowania, lecz po spawnie nie dzieje si? nic innego ni? takie co?. Pr?bowa?em wielu rzeczy, ale nadal nic. Mo?e kto? pom?c?
https://imgur.com/a/FWHVUjC
W konsolce zero b??d?w. Nie wiem o co chodzi kompletnie.
https://www19.zippyshare.com/v/ZbUjXuhs/file.html
^Tutaj link do tego panelu. Z g?ry dzi?ki <3
3. Czarny ekran po zalogowaniu sie
Witam, m?j problem polega na tym ?e gdy zaloguje si? ju? w panelu logowania pojawia sie czarny ekran, jestem zielony w lua i nie za bardzo wiem jak to naprawi? :/ , dodam ?e to gm perfect rpg 1.0
4. Pięść po zalogowaniu z gui
Wie kto? oco chodzi? Wychodzi to z core czy hudu (nie patrzcie na hud)
pokazuj? mi si? kawa?ek podstawowego hudu a mam u?yte

setPlayerHudComponentVisible("ammo", false)
setPlayerHudComponentVisible("armour", false)
setPlayerHudComponentVisible("clock", false)
setPlayerHudComponentVisible("health", false)
setPlayerHudComponentVisible("money", false)
setPlayerHudComponentVisible("vehicle_name", false)
setPlayerHudComponentVisible("weapon", false)
setPlayerHudComponentVisible("breath", false)
setPlayerHudComponentVisible("wanted", false)

https://imgur.com/a/tNqc18y
5. Respienie się w domku po zalogowaniu
Witam, mam problem gdy jestem w panelu logowania, gdy wybieram miejsce spawnu i wciskam Button podpisany Dom i teleportuje mnie na spawn i pisze Nie posiadasz domku! a domek mam b?edy w DB3

ERROR: [Serwer]/pystories-domy/util.lua:5: attempt to call method 'find' (a nil value)

Kod:

function split(str, pat)
local t = {}
local fpat = "(.-)" .. pat
local last_end = 1
local s, e, cap = str:find(fpat, 1) -- Linijka 5
while s do
if s ~= 1 or cap ~= "" then
table.insert(t,cap)
end
last_end = e+1
s, e, cap = str:find(fpat, last_end)
end
if last_end <= #str then
cap = str:sub(last_end)
table.insert(t, cap)
end
return t
end
6. Po zalogowaniu i wybraniu spawnu nie respi postaci.
Po zalogowaniu i wybraniu miejsca nie chce mi zrespi? postaci, paczka: [YOUR STORIES - PERFECT RPG 1.0]
Prosz? o pomoc, daje piwko, respekt.
7. Tekst przy zalogowaniu - ACL
Cze??, ostatnio napotka?em na irytuj?ce teksty, a mianowicie przy logowaniu i wylogowaniu przy ACL:
login: You successfully logged in
logout: You logged out
itp. Prosz? o pomoc!
8. Jak zrobić żeby usunac ten napis po zalogowaniu na serwerze
Witam mam problem loguje si? na serwer i pisze mi takie co? * SweetNightlight41 is now known as Nezzi [Mam wylaczony freeroam i tryb gry play za pomoc daje zimne :piwo:
9. Czemu kamera staje w miejscu po zalogowaniu
W panelu logowania zrobi?em lataj?c? kamer? dzi?ki smoothMoveCamera, no i po zalogowaniu kamera stoi w ostanim miejscu i nie przechodzi na gracza... jak temu zaradzi??

[size=9][ [i][b]Dodano[/b]: 2018-05-10, 05:03[/i] ][/size]
[lua]local sm = {}
sm.moov = 0
sm.object1,sm.object2 = nil,nil

local function removeCamHandler()
if(sm.moov == 1)then
sm.moov = 0
end
end

local function camRender()
if (sm.moov == 1) then
local x1,y1,z1 = getElementPosition(sm.object1)
local x2,y2,z2 = getElementPosition(sm.object2)
setCameraMatrix(x1,y1,z1,x2,y2,z2)
end
end
addEventHandler("onClientPreRender",root,camRender)

function smoothMoveCamera(x1,y1,z1,x1t,y1t,z1t,x2,y2,z2,x2t,y2t,z2t,time)
if(sm.moov == 1)then return false end
sm.object1 = createObject(1337,x1,y1,z1)
sm.object2 = createObject(1337,x1t,y1t,z1t)
setElementAlpha(sm.object1,0)
setElementAlpha(sm.object2,0)
setObjectScale(sm.object1,0.01)
setObjectScale(sm.object2,0.01)
moveObject(sm.object1,time,x2,y2,z2,0,0,0,"InOutQuad")
moveObject(sm.object2,time,x2t,y2t,z2t,0,0,0,"InOutQuad")
sm.moov = 1
setTimer(removeCamHandler,time,1)
setTimer(destroyElement,time,1,sm.object1)
setTimer(destroyElement,time,1,sm.object2)
return true
end

local sw, sh = guiGetScreenSize()
local w, h = (sw/1680), (sh/1050)



local gui = {
login = guiCreateEdit(0.45*w, 0.35*h,...
10. spawn po zalogowaniu
Witam.

Chcialbym aby po zalogowaniu sie do serwera dany gracz sie spawnowal w miejscu o tych kordach co w kodzie. Co tutaj jest nie tak?


addEvent
("logowanie:removeWindow",true)
    
addEventHandler("logowanie:removeWindow",root,function()
        
removeEventHandler("onClientRender",root,panelLogowania_logowanie)
        
guiSetVisible(login,false)
        
guiSetVisible(haslo,false)
        
showCursor(false)
        
showChat(true)
        
logowanie false
        setPlayerHudComponentVisible
("radar",true)
        
local x 2285.5
        local y 
32.799999237061
        local z 
26.299999237061
        spawnPlayer
(sourcexyz)
        
fadeCamera(sourcetrue)
        
setCameraTarget(sourcesource)
        
outputChatBox("Witaj na serwerze"source)
    
end)
11. po zalogowaniu się zmienia pozycję postaci
Witam ma taki dziwny b??d po zalogowaniu si? zmienia pozycj? postaci co 1s i restartuje ekwipunek

wiadomo?? wyskakuje mi na ekranie

[code]
KT^Smakosh3d's account is buggy and has been reset.
[/code]

Wycinek z konsoli

[code]
[2017-06-22 18] ERROR: Problem with resource: assault; Failed to link to scoreboard
[2017-06-22 18] ERROR: Problem with resource: briefcaserace; Failed to link to scoreboard
[2017-06-22 18] ERROR: Problem with resource: cdm; Failed to link to scoreboard
[2017-06-22 18] ERROR: Problem with resource: ctf; Failed to link to scoreboard
[2017-06-22 18] ERROR: Problem with resource: ctf-bombsite; Failed to link to scoreboard
[2017-06-22 18] ERROR: Problem with resource: ctf-canals; Failed to link to scoreboard
[2017-06-22 18] ERROR: Problem with resource: ctf-hydrastrike;
[2017-06-22 18] ERROR: Problem with resource: ctf-tbd; Failed to link to scoreboard
[2017-06-22 18] ERROR: Problem with resource: ctv; Failed to link to scoreboard
[2017-06-22 18] ERROR: Problem with resource: deathmatch; Failed to link to scoreboard
[2017-06-22 18] ERROR: Problem with resource: fallout; Failed to link to scoreboard
[2017-06-22 18] ERROR: Problem with resource: race; Failed to link to scoreboard
[2017-06-22 18] ERROR: Problem with resource: scores; Failed to link to scoreboard
[2017-06-22 18] ERROR: Problem with resource: stealth; Failed to link to scoreboard
[2017-06-22 18] ERROR: Problem with resource: tdm; Failed to link to scoreboard
[2017-...
12. po zalogowaniu czarny ekran
Gdy si? zaloguj? na sw?j serwer, w konsoli wyskakuje:
Server AC info: [Allowed client files: None] [Disabled AC: None] [Enabled SD: None]
o co w tym chodzi?
13. Po zalogowaniu nie respi
Witam! Mam paczk? Play Your Stories, loguje si? lecz jest czarny ekran i chat. Na chacie mog? pisa? itp. W WYBORZE SPAWNU WYBRA?EM SPAWN
14. Wywala z serwera po Zalogowaniu
Witam. zrobilem na swojim serwerze system rejestracji i logowania
pawn pokazal 0 bled?w
ale gdy weszedlem na serwer i zrobilem konto a nastepnie zrestartowalem serwer i sie zalogowalem to odrazu mnie wywala z serwera i pisze ( server close conncetion ) niepamietam dokladnie

gamemode: http://pastebin.com/zycNpy0b

moze cos zle z gm zrobilem
15. Tekst po zalogowaniu
Witam
Potrzebuje kodziku na to aby na ?rodku ekranu po zalogowaniu widnia? np. napis Witaj na Serwerze przez 10 sekund.
Za pomoc daje piwko.
16. Okno po zalogowaniu
Witam
Mam problem gdy? chcia?bym aby okno z wyborem dru?yny wyskakiwa?o dopiero po zalogowaniu, a nie zakrywa?o panelu logowania. Za pomoc leci piwko.
Kod:
[code]addEventHandler("onClientResourceStart",resourceRoot,
function()
dm_window = guiCreateWindow(0.1556,0.1597,0.5575,0.4144,"",true)
grove_button = guiCreateButton(125,108,100,100,"Grove Street",false,dm_window)
police_button = guiCreateButton(225,108,100,100,"Policja",false,dm_window)
rifa_button = guiCreateButton(325,108,100,100,"Rifa",false,dm_window)
blood_button = guiCreateButton(25,108,100,100,"Bloods",false,dm_window)
teams_label = guiCreateLabel(50,33,70,25,"Druzyny",false,dm_window)
showCursor(true)
end
)

function openguiwindow ()
thePlayer = getLocalPlayer()
guiSetVisible(dm_window, true)
showCursor(true)
end
addEvent("opengui1window", true)
addEventHandler("opengui1window", getRootElement(), openguiwindow)
addCommandHandler("changeteam", openguiwindow)

function grovego (state)
if state == "left" then
if source == grove_button then
guiSetVisible(dm_window, false)
thePlayer = getLocalPlayer()
showCursor(false)
triggerServerEvent("grove", getLocalPlayer(), thePlayer, grove)
end
end
end
addEventHandler("onClientGUIClick", getRootElement(), grovego)

function gotopolice...
17. Dawanie skina po zalogowaniu
Witam. Mam problem z dawaniem skina po zalogowaniu. Ot??, jak wybior? spawn to daje mi skina CJ. Mo?e to kto? poprawi??

S-Side z logowania:

[lua]function PlayerLogin(username,password,checksave)
if not (username == "") then
if not (password == "") then
local account = getAccount ( username,password )
if ( account ~= false ) then
logIn(source, account, password)
setCameraTarget(source, source)
outputChatBox ("Gratulacje! Zalogowa?e? si? poprawnie!", source)
triggerClientEvent (source,"Zacznij",getRootElement())
toggleControl (source, "fire", false)
toggleControl (source, "aim_weapon", false)
end
end
end
end
addEvent("onRequestLogin",true)
addEventHandler("onRequestLogin",getRootElement(),PlayerLogin)

function registerPlayer(username,password,passwordConfirm)
if not (username == "") then
if not (password == "") then
local account = getAccount (username,password)
if (account == false) then
local accountAdded = addAccount(tostring(username),tostring(password))
if (accountAdded) then
triggerClientEvent (source, "Zaloguj", root, source)
else
triggerClientEvent( source, "Konto_jest", root, source)
end
else
triggerClientEvent ( source, "Nick_Konto", root, source)
end
else
triggerClientEvent ...
18. Okno po zalogowaniu
Witam! Jak zrobi?, aby po zalogowaniu wy?wietla? si? panel spawnu. Za pomoc = :piwo:

Kod:
spawn guiCreateButton(50322231750"SPAWN G??WNY"false)
guiSetFont(spawn"default-bold-small")


urzad guiCreateButton(50331931750"URZ?D"false)
guiSetFont(urzad"default-bold-small")


wylogowania guiCreateButton(50341531750"MIEJSCE WYLOGOWANIA"false)
guiSetFont(wylogowania"default-bold-small")


function 
panel()
    
dxDrawRectangle(493180337312tocolor(000235), false)
    
dxDrawText("Wybierz Spawn"517159806203tocolor(255255255255), 1.20"bankgothic""left""top"falsefalsetruefalsefalse)
end
19. [INNE] Komunikat po zalogowaniu na rcona
Witam


Jak zrobi? ?eby jak gracz zaloguje si? poprawnie na rcon to wyskoczy? widoczny tylko dla niego komunikat ?e np lista komend /acmd
20. Filmik po pierwszym zalogowaniu
Witam, poszukuje skryptu dzi?ki kt?remu jak gracz si? zaloguje po raz 1 poka?e mu si? filmik, a jak si? zaloguje ju? po raz 2 to ?eby ten filmik ju? si? nie w??cza?
21. Nie przenosi gracza przy zalogowaniu
Co jest ?le ;/ ? To samo mam z teamem "red"
function login()
if 
getPlayerTeam(source) == getTeamFromName("blue"then
setElementPosition 
thePlayer, -1615.564453125681.642761230477.1875 )
fadeCamera (sourcetrue)
setCameraTarget (sourcesource)
end
end
addEventHandler
("onPlayerLogin"getRootElement(), login)
22. [INNE] Ogłoszenie po zalogowaniu się
Witam, ot?? mam okno gui do logowania i chcia?bym zrobi? tak, ?e gdy gracz wpisze has?o i si? zaloguje pojawia mu si? jakie? og?oszenie w gui. Z g?ry dzi?kuje za pomoc.
23. [DM] Kicka po zalogowaniu
Siema posiadam mapke exe.
Wbijam na serwer loguje si? i nagle kick.
[code]LoginRegisterCommands(playerid, cmdtext[]){
new cmd[256], idx;
cmd = strtok(cmdtext, idx);
if(strcmp(cmd, "/register", true) == 0 || strcmp(cmd, "/rejestruj", true) == 0){
new tmp[256];
tmp = strtok(cmdtext, idx);
if(25 < strlen(tmp) || strlen(tmp) < 3)return SendClientMessage(playerid, POL_ZIELONY, "*** Has?o nie mo?e byc kr?tsze niz 3 i d?usze niz 25 znak?w.");
if(isnull(tmp))return SendClientMessage(playerid, COLOR_WHITE, "*** U?yj: /Register [has?o]");
if(dini_Exists(udb_encode(PlayerName(playerid))))return SendClientFormatMessage(playerid, CWARN, "* %s Konto O Takiej Nazwie Jest Juz Zarejestrowane", PlayerName(playerid));
dini_Create(udb_encode(PlayerName(playerid)));
dini_IntSet(udb_encode(PlayerName(playerid)), "password", udb_hash(tmp));
dini_Set(udb_encode(PlayerName(playerid)), "HasloPrzyRejestracji", tmp);
dini_Set(udb_encode(PlayerName(playerid)), "haslo2", tmp);
printf("%s (id: %d) utworzy?e? nowe konto. Twoje has?o to >>> %s <<< Zapami?taj je.", PlayerName(playerid), playerid, tmp);
new actkey[256];
format(actkey,256,"%d-%d-%d-%d-%d",random(9999),random(9999),random(9999),random(9999),random(9999)/*,random(9999),random(9999),random(9999),random(9999),random(9999)*/);
SendClientFormatMessage(playerid, CINFO...