By.STRONG.TR Posted March 3, 2019 Share Posted March 3, 2019 addCommandHandler("vipsurem", function(oyuncu) local cid = getElementData(oyuncu, "dbid") local vipveri = fromJSON(exports.getRealTime:GAD(cid,"Vip") or toJSON({})) print(cid) if vipveri then local bitis = getRealTime(vipveri.bitis) outputChatBox("[!]#ffffffVip["..vipveri.level.."] Bitiş Tarihiniz: "..bitis.monthday.."."..bitis.month.."."..(bitis.year+1900).." - "..bitis.hour..":"..bitis.minute..":"..bitis.second.." ", oyuncu, 0, 255, 0,true) end end) What is the error in the code? Link to comment
ShayF2 Posted March 4, 2019 Share Posted March 4, 2019 (edited) If you're running this clientside then oyuncu doesn't exist. Try running it serverside. Edited March 4, 2019 by ShayF Link to comment
By.STRONG.TR Posted March 6, 2019 Author Share Posted March 6, 2019 (edited) No Revelant Edited March 6, 2019 by By.STRONG.TR 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