scratcher911 Posted July 26, 2012 Posted July 26, 2012 dbQuery(database, "UPDATE prsaver SET x='"..x.."',y='"..y.."',z='"..z.."', interior='"..interior.."',health='"..health."', armor='"..armor.."',nameR='"..r.."',nameG='"..g.."',nameB='"..b.."', money='"..money.."', dimension='"..dimension.."', wantedLevel='"..wanted.."',team='"..team.."',weaponID1='"..wID1.."',weaponID2='"..wID2.."',weaponID3='"..wID3.."',weaponID4='"..wID4.."',weaponID5='"..wID5.."',,weaponID6='"..wID6.."',weaponID7='"..wID7.."',weaponID8='"..wID8.."',weaponID9='"..wID9.."',weaponID10='"..wID10.."',weaponID11='"..wID11.."',weaponID12='"..wID12.."',WeaponAmmo1='"..aID1.."',WeaponAmmo2='"..aID2.."',WeaponAmmo3='"..aID3.."',WeaponAmmo4='"..aID4.."',WeaponAmmo5='"..aID5.."',WeaponAmmo6='"..aID6.."',WeaponAmmo7='"..aID7.."',WeaponAmmo8='"..aID8.."',WeaponAmmo9='"..aID9.."',WeaponAmmo10='"..aID10.."',WeaponAmmo11='"..aID11.."',WeaponAmmo12='"..aID12.."' WHERE serial=?", getPlayerSerial(source) ) It shows error: Loading script failed: save\main.lua:66: '' expected near '"', armor='"' but I can not find the problem
Castillo Posted July 26, 2012 Posted July 26, 2012 You have a missing dot after 'health'. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Castillo Posted July 26, 2012 Posted July 26, 2012 You're welcome. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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