15.09.2011, 20:06
Hey guys
I'm quite new at Mysql and I cant find the error in this code,
I get this error here.
This is the code
Thanks for the help!
I'm quite new at Mysql and I cant find the error in this code,
I get this error here.
Код:
F:\Skrivbord\Skrivbord 3\Ny mapp\gamemodes\****.pwn(32928) : error 075: input line too long (after substitutions) F:\Skrivbord\Skrivbord 3\Ny mapp\gamemodes\****.pwn(32929) : error 037: invalid string (possibly non-terminated string) F:\Skrivbord\Skrivbord 3\Ny mapp\gamemodes\****.pwn(32929) : error 029: invalid expression, assumed zero F:\Skrivbord\Skrivbord 3\Ny mapp\gamemodes\****.pwn(32929) : error 017: undefined symbol "houses" F:\Skrivbord\Skrivbord 3\Ny mapp\gamemodes\****.pwn(32929) : fatal error 107: too many error messages on one line
pawn Код:
new Query[1000];
format(Query,sizeof(Query),"UPDATE `housesґ SET hEntrancex ='%f', hEntrancey ='%f', hEntrancez ='%f', hExitx ='%f', hExity ='%f', hExitz ='%f', hHealthx ='%d', hHealthy ='%d', hHealthz ='%d', hArmourx ='%d', hArmoury ='%d', hArmourz ='%d', hOwner ='%s', hDiscription ='%s', hValue ='%d', hHel ='%d', hArm ='%d', hInt ='%d', hLock ='%d', hOwned ='%d', hRooms ='%d', hRent ='%d', hRentabil ='%d', hTakings ='%d', hVec ='%d', hVcol1 ='%d', hVcol2 ='%d', hDate ='%d', hLevel ='%d', hWorld ='%d', hMats ='%d', hAddress ='%s', hAddress2 ='%d', WHERE HouseID ='%d'",
HouseInfo[idx][hEntrancex],
HouseInfo[idx][hEntrancey],
HouseInfo[idx][hEntrancez],
HouseInfo[idx][hExitx],
HouseInfo[idx][hExity],
HouseInfo[idx][hExitz],
HouseInfo[idx][hHealthx],
HouseInfo[idx][hHealthy],
HouseInfo[idx][hHealthz],
HouseInfo[idx][hArmourx],
HouseInfo[idx][hArmoury],
HouseInfo[idx][hArmourz],
HouseInfo[idx][hOwner],
HouseInfo[idx][hDiscription],
HouseInfo[idx][hValue],
HouseInfo[idx][hHel],
HouseInfo[idx][hArm],
HouseInfo[idx][hInt],
HouseInfo[idx][hLock],
HouseInfo[idx][hOwned],
HouseInfo[idx][hRooms],
HouseInfo[idx][hRent],
HouseInfo[idx][hRentabil],
HouseInfo[idx][hTakings],
HouseInfo[idx][hVec],
HouseInfo[idx][hVcol1],
HouseInfo[idx][hVcol2],
HouseInfo[idx][hDate],
HouseInfo[idx][hLevel],
HouseInfo[idx][hWorld],
HouseInfo[idx][hMats],
HouseInfo[idx][hAddress],
HouseInfo[idx][hAddress2],
idx);
mysql_query(Query);
mysql_store_result();
idx++;