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: premium!
1. [MTA] Project RPG - KONKURS | 1 L
Dzie? Dobry,

Przychodz? dzisiaj do was z konkursem ?

Wszystkie informacje jak wzi?? udzia? zosta?y podane w filmiku na YouTube.


https://youtu.be/CExAIa0vTh4
2. Nie działa premium!
Siema!
Robi? serwer na pysie i gdy pr?bowa?em sobie da? premium to w debug scripcie wyskoczy? mi taki kod:

Kod:

ERROR:[skrypty]/pystories-guiPremium/s_pgui.lua:18:bad argument #3 to 'format'(number expected, got boolean)


A w pliku lua mam takie cos pisane:
api="c2138388cfce0ea6e3ff37bf6"
function getPremiumDate(plr)
    
local queryA=exports['pystories-db']:dbGet("SELECT * FROM pystories_users WHERE id=? AND premiumdate>NOW() LIMIT 1"getElementData(plr,"player:sid"))
    if (
queryA and #queryA > 0) then
        
return queryA[1].premiumdate
    end
    
return false    
end


function setPremiumDay(plr,days)
    if 
getPremiumDate(plrthen
    local queryA
=exports['pystories-db']:dbSet(string.format("UPDATE pystories_users SET premiumdate = DATE(premiumdate) + INTERVAL %d DAY WHERE id=%d",days,getElementData(plr,"player:sid")))
    return 
end
    local queryA
=exports['pystories-db']:dbSet(string.format("UPDATE pystories_users SET premiumdate = DATE(curdate()) + INTERVAL %d DAY WHERE id=%d",days,getElementData(plr,"player:sid")))                             api1="2967eefd9a52a1657279d6b1e"
end


Wie ktos jak to naprawic?
3. Panel premium!
Witam,
ostatnio pr?buje podpi?? panel premium pod microsms.pl i wszystko ladnie ale jak juz biore testowy kod i wpisuje do panelu i klikam zakup premium to w debugscripcie wyskakuje mi Access denied @ 'fetchRemote'