aski Posted February 27, 2014 Share Posted February 27, 2014 system pm nie działa z [url=https://github.com/lpiob/MTA-XyzzyRP/bl]https://github.com/lpiob/MTA-XyzzyRP/bl[/url] ... ore/pm.lua Jak to włącze to wyskakuje mi linijka Najpierw wejdz do gry a kiedy usune ze kodu tą linijkne to nie wysyła wiadomości pm. Link to comment
WhoAmI Posted February 27, 2014 Share Posted February 27, 2014 Najprawdopodobniej nie masz daty "characters", tworzenie/spawn postaci działa Ci dobrze? Link to comment
aski Posted February 28, 2014 Author Share Posted February 28, 2014 Czy związek ma to z bazą danych mysql ? Link to comment
WhoAmI Posted February 28, 2014 Share Posted February 28, 2014 No raczej... Cały gamemode bazuje na MySQL. Link to comment
aski Posted February 28, 2014 Author Share Posted February 28, 2014 Nie chodzi mi o gamemode bo to wiem chodzi o ten wycinek Link to comment
WhoAmI Posted March 1, 2014 Share Posted March 1, 2014 Ten skrypt jest ściśle powiązany z gamemodem. Między innymi kara blokady pm, postacie. Musiałbyś się pobawić, żeby to przerobić. Link to comment
Wielebny Posted March 6, 2014 Share Posted March 6, 2014 Wgrywasz ten plik i plik id_graczy.lua usuwasz te fragmenty: if not getElementData(plr,"character") then outputChatBox("Najpierw wejdź do gry.", plr) return end ... if ninjaban(tresc) then outputChatBox(">> " .. getPlayerName(target) .. "(" .. getPlayerID(target) .. "): " .. tresc, plr, 245, 219, 0) exports["lss-admin"]:gameView_add("PM NINJABAN " .. getPlayerName(plr).."/"..getPlayerID(plr).." >> "..getPlayerName(target).."/"..getPlayerID(target)..": " .. tresc) return end i fragmenty odwołujące się do exports["lss-admin"]. To wystarczy aby uruchomić ten kod wszędzie. Po włączeniu, przed przetestowaniem, połącz się od nowa z serwerem aby otrzymać ID. Skrypt które je nadaje przewidziany jest do ciągłego działania, od startu serwera. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now