Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SaveHouse(id)
- {
- new query[256];
- mysql_format(handle, query, sizeof(query), "UPDATE PlayerHouses SET howner = '%s', hLocked = '%d', hPrice = '%d', hInt = '%d', HentX = '%f',HentY = '%f', HentZ = '%f', HexX='%f',HexY = '%f', HexZ = '%f' WHERE houseid = '%d'",
- House[id][howner],House[id][hLocked],House[id][hPrice],House[id][hInt],House[id][HentX],House[id][HentY],House[id][HentZ],House[id][HexX],House[id][HexY],House[id][HexZ],House[id][houseid]);
- //mysql_pquery(handle,query,"");
- mysql_query(handle, query, false);
- printf(query);
- if(ServerShuttingDown ==0)
- {
- updateHouse(id);
- }
- return 1;
- }
- upd
Add Comment
Please, Sign In to add comment