GetPlayerWeaponData and MySql
#3

Quote:
Originally Posted by Calisthenics
View Post
Not in the `players` table! Make a new table for the weapons and follow this tutorial: https://sampforum.blast.hk/showthread.php?tid=505081
However add a new column called `slot` and set as UNIQUE KEY the columns (userid, slot) so it will overwrite the previous weapon in the same slot.
He better create columns and use loop to save, e.g weapon1, weapon2.
Reply


Messages In This Thread
GetPlayerWeaponData and MySql - by v1k1nG - 18.10.2018, 20:41
Re: GetPlayerWeaponData and MySql - by Calisthenics - 18.10.2018, 20:49
Re: GetPlayerWeaponData and MySql - by d3Pedro - 18.10.2018, 20:58
Re: GetPlayerWeaponData and MySql - by Calisthenics - 18.10.2018, 21:07
Re: GetPlayerWeaponData and MySql - by d3Pedro - 18.10.2018, 22:41
Re: GetPlayerWeaponData and MySql - by Kane - 19.10.2018, 07:47
Re: GetPlayerWeaponData and MySql - by Calisthenics - 19.10.2018, 07:47
Re: GetPlayerWeaponData and MySql - by d3Pedro - 19.10.2018, 12:26
Re: GetPlayerWeaponData and MySql - by jasperschellekens - 19.10.2018, 13:09
Re: GetPlayerWeaponData and MySql - by d3Pedro - 19.10.2018, 13:24

Forum Jump:


Users browsing this thread: 1 Guest(s)