Facebook
From Bone, 7 Years ago, written in C++.
Embed
Download Paste or View Raw
Hits: 266
  1. local org=exports["ogrpg-db"]:dbGet("SELECT * FROM ogrpg_organizations WHERE uid=? LIMIT 1", getElementData(plr,"player:uid"))
  2. if org and #org > 0 then
  3. setElementData(plr,"player:organization",org[1].code)
  4. exports['ogrpg-db']:dbSet("UPDATE ogrpg_organizations SET actived=curdate() WHERE uid=?", getElementData(plr,"player:uid"))
  5. end