Jump to content

Correct way of doing something such as this.


Recommended Posts

Posted

What would be the correct way of doing this, I'm reviving syntax errors with this.

executeSQLQuery("DELETE FROM `HeretricsGunStorage` WHERE `location`=? `weapon`=?" , tostring(location),id ) 

Wolf Inc Discord

Youtube channel
Github

Posted

try this : ( just added AND)

executeSQLQuery("DELETE FROM HeretricsGunStorage WHERE location = ? AND weapon = ?", location,id ) 

Do not yield your back to your enemy, might feel something strange in your ass.

Two things are infinite the universe and human stupidity and i'm not sure about the universe.

UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle

Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators

Posted

Ended up figuring that a bit after I wrote this then having the rewrite most of the SQL functions in the script I was working on because of some issues.

But any ways, thank you.

Wolf Inc Discord

Youtube channel
Github

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...