Weapon saving
#7

Select query is right, insert one however should be
Quote:

"INSERT INTO weapons VALUES (%d, %d, %d, %d) ON DUPLICATE KEY UPDATE Weaponid=%d , Ammo=%d"

Edit: select one could be this too, since we really don't need the slot to giveplayerweapon
Quote:

SELECT Weaponid, Ammo FROM weapons WHERE Userid=%d

Reply


Messages In This Thread
Weapon saving - by vernz - 08.05.2016, 06:53
Re: Weapon saving - by PrO.GameR - 08.05.2016, 10:07
Re: Weapon saving - by vernz - 08.05.2016, 14:37
Re: Weapon saving - by PrO.GameR - 08.05.2016, 14:43
Re: Weapon saving - by vernz - 08.05.2016, 14:48
Re: Weapon saving - by vernz - 08.05.2016, 14:52
Re: Weapon saving - by PrO.GameR - 08.05.2016, 19:48
Re: Weapon saving - by vernz - 08.05.2016, 20:40

Forum Jump:


Users browsing this thread: 1 Guest(s)