21.11.2017, 21:21
I already did
Код:
stock SaveGangLocker(id) { new string[1024]; format(string, sizeof(string), "UPDATE `ganglockers` SET \ `PosX`=%f, \ `PosY`=%f, \ `PosZ`=%f, \ `VW`=%d, \ `Int`=%d, \ `Type`=%d, \ `Family`=%d WHERE `id`=%d", GangLockers[id][glockerPosX], GangLockers[id][glockerPosY], GangLockers[id][glockerPosZ], GangLockers[id][glockerVW], GangLockers[id][glockerInt], GangLockers[id][glockerType], GangLockers[id][glockerFamily], id+1 ); mysql_function_query(MainPipeline, string, false, "OnQueryFinish", "i", SENDDATA_THREAD); }