Why it's not working ?
#8

Quote:
Originally Posted by Nru
Посмотреть сообщение
Thank you it worked fine now +REP <3
I'm glad, thanks

And then for businesses try this:
PHP код:
stock SaveBusiness()
{
    new 
query[1000];
    for(new 
1MAX_BUSINESSi++)
    {
        if(
Business[i][Used])
        {
            
mysql_format(querysizeof(query), "UPDATE `BUSINESS` SET `TYPE`='%d', `PRODUCT`= '%d',`FEE`= '%d', `SAFE`='%d', `VW`='%d', `INT`='%d',`IINT`='%d',`OWNER`='%d', `PRICE`='%d', `PosX`='%f', `PosY`='%f', `PosZ`='%f', `CpPosX`='%f',`CpPosY`='%f', `CpPosZ`= '%f', `IPosX`='%f', `IPosY`='%f',`IPosZ`='%f' WHERE `ID`='%d' LIMIT 1",
            
Business[i][Type],Business[i][Product],Business[i][Fee],Business[i][Safe],Business[i][Vw],Business[i][Int],Business[i][IInt],Business[i][Owner],Business[i][Price],Business[i][PosX],Business[i][PosY],Business[i][PosZ],Business[i][CpPosX],Business[i][CpPosY],Business[i][CpPosZ],Business[i][IPosX],Business[i][IPosY],Business[i][IPosZ],i);
            
mysql_query(Databasequery);
        }
    }

Reply


Messages In This Thread
Why it's not working ? - by Nru - 23.03.2018, 00:01
Re: Why it's not working ? - by kovac - 23.03.2018, 00:16
Re: Why it's not working ? - by Nru - 23.03.2018, 00:29
Re: Why it's not working ? - by kovac - 23.03.2018, 00:31
Re: Why it's not working ? - by Nru - 23.03.2018, 00:33
Re: Why it's not working ? - by kovac - 23.03.2018, 00:41
Re: Why it's not working ? - by Nru - 23.03.2018, 00:53
Re: Why it's not working ? - by kovac - 23.03.2018, 01:02

Forum Jump:


Users browsing this thread: 1 Guest(s)