Jump to content

Anubhav

Members
  • Posts

    2,277
  • Joined

  • Last visited

Everything posted by Anubhav

  1. Well 60*1000 = 60,000 = 60 seconds Not 60*100.. 60*100 = 6000 = 6 seconds. It's in ms.. You should edit your post asap.
  2. Anubhav

    Vehicles

    Well I got this now! local result = executeSQLQuery("SELECT * FROM vehicles WHERE accName=? and ID=?", tostring(accName), tonumber(carID)) to local result = executeSQLQuery("SELECT * FROM vehicles WHERE accName=? and id=?", tostring(accName), tonumber(carID))
  3. Why when 1 ammo? Just check when the weapon is gone, client side with onClientRender. ToggleControl -> add ammo for that weapon. Pretty simple and better.
  4. Anubhav

    Vehicles

    Well, if you still need help. I'll tell you a BIG MISTAKE YOU DID, A REALLY BIG ONE. SQLite is case sensitive. local result = executeSQLQuery("SELECT * FROM vehicles WHERE accName=? and ID=?", tostring(accName), tonumber(carID)) executeSQLQuery("UPDATE vehicles SET upgrades=? WHERE accName=? AND id=?", nups, accName, carID) well if you see this, do you observe id and ID? Please show me your CREATE query, then I'll tell you the which should solve this problem.
  5. http://www.digitaltrends.com/computing/ ... g-systems/ Maybe this helps you out..
  6. Database.getInstance():execute('UPDATE Accounts SET Name=?,Serial=?,IP=?,Email=?,Money=?,Health=?,Armour=?,PlayerPositionX=?,PlayerPositionY=?,PlayerPositionZ=?,Skin=?,Interior=?,Rotation=?,Dimension=?,Team=?,Weapons=?,Stats=? WHERE Username=?',name,serial,ip,email,money,health,armor,x,y,z,skin,int,rotation,dim,team,oruzije,Stats,account) Try this, you had a comma after Stats, while it isn't needed!
  7. Dude, you really need to do it on yourself, you can't always rely on other people, specially when you are developing a server Why do you need to go to every single topic like this, and tell people this? No offense.
  8. A: I'd rather run instead of dieing. Q: What would you do if 1+1 = 2 + 2?
  9. A: i'd kill you Q: what would you do if Mr.ShariQ was a alien from nowhere?
  10. Anubhav

    Vehicles

    It's since you are inserting the upgrades in the health table and getting it from upgrades table.
  11. Wait, how do you even do that?
  12. A: I would cry Q: What would you do if you would be a DOG?1
  13. Tables spawnpoints = { -- format: { x, y, z }, { 2463.740234375, -1651.5595703125, 13.470365524292 }, -- add more? } function spawnAsGroveStreetTeam ( player) local x, y, z = unpack( spawnpoints[ math.random( #spawnpoints ) ] ) spawnPlayer (player, x, y, z, 180, 0, 0, 0) setElementModel(player,math.random(105,107)) fadeCamera (player, true) setCameraTarget (player, player) setElementData(player,"isSpawned",true) setTimer(setElementData,5000,1,player,"isSpawned",false) giveWeapon(player,4,1) giveWeapon(player,16,5) giveWeapon(player,22,200) giveWeapon(player,26,52) giveWeapon(player,32,350) giveWeapon(player,30,250) giveWeapon(player,33,74) end
  14. A: Life is life - hahahahah Q: What would you do if you would die? Dance? Cry? or what?
  15. Solution is: you need to stop the resource, by the way, you can do this on onResourcePreStart, maybe it works
  16. Sub-domains can't be requested. viewtopic.php?f=167&t=73773&hilit=CEF&start=165#p771584 See this message by Jusonex telling that sub-domains can cause a security issue.
  17. fileGetSize( fileOpen( 'meta.xml' ) )
  18. Anubhav

    Help

    if vehID == 520 or vehID == 425 or vehID == 432 then
  19. dpkg --add-architecture i386 apt-get update execute this than that. Source: https://serverfault.com/questions/41507 ... nstallable
  20. Trying using: sudo apt-get install zip
  21. I found a mistake in 5. Formatting string -- Date Format local date = 3 local month = 2 loal year = 2020 outputChatBox(string.format("Date %02d/%02d/%03d", date, month, year)) -- Result: Date 03/02/2020
  22. No one is crazy for cricket here but they play cricket more as it's too fun. I think India is in local footballs.
×
×
  • Create New...