Weapon saving
#3

This is exactly what I did yesterday but that way:

PHP код:
for(new i13i++)
        {
            
GetPlayerWeaponData(playeridiweaponidammo);
            if(!
weaponid) continue;
            
mysql_format(mysqlquerysizeof(query), "INSERT INTO weapons VALUES (%d, %d, %d, %d) ON DUPLICATE KEY UPDATE Slot=%d"PlayerInfo[playerid][pID], weaponidammoii);
            
mysql_pquery(mysqlquery);
        } 
But I didnt un-unique the weaponid, however, I want it to also update the weaponid, ammo and slot so it is right the way I am doing it ?
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)