MYSQL table
#1

Hi, how would you create a table for this line..

Код:
format(line, sizeof(line), "INSERT INTO `guns` ( `charid`, `gunid`, `ammo`, slot) VALUES (%d, %d, %d, %d) ",GetPVarInt(playerid, "CharID"),storedWeaponID[playerid][slot],storedWeaponAmmo[playerid][slot],slot);
Код:
 format(line, sizeof(line), "SELECT `gunid`, `ammo`, `slot` FROM `guns` WHERE `charid` = %d ",GetPVarInt(playerid, "CharID"));
Thanks.
Reply


Messages In This Thread
MYSQL table - by Puff - 01.09.2017, 16:51
Re: MYSQL table - by webby - 01.09.2017, 16:55
Re: MYSQL table - by Luke_James - 01.09.2017, 16:56
Re: MYSQL table - by Puff - 01.09.2017, 17:03
Re: MYSQL table - by Vince - 01.09.2017, 17:09
Re: MYSQL table - by Puff - 01.09.2017, 17:13
Re: MYSQL table - by Banditul18 - 01.09.2017, 17:34
Re: MYSQL table - by Luke_James - 01.09.2017, 17:48
Re: MYSQL table - by Vince - 01.09.2017, 17:59

Forum Jump:


Users browsing this thread: 1 Guest(s)