Mein FS speichert irgendwie nichts in der MySQL Datenbank ab ^
Der Stock der die Sachen ladet
mysql_format(handle, query, sizeof(query), "SELECT * FROM `clothes` WHERE `holder` = '%s'", GetName(playerid));
mysql_pquery(handle, query, "OnClothesLoad", "i", playerid);
Nachdem kaufen
mysql_format(handle, query, sizeof(query), "INSERT INTO `clothes` (`holder`, `model`, `bone, `offestx, `offesty, `offestz, `rotx, `roty, `rotz, `scalex, `scaley, `scalez) VALUES ('%s', %d, %d, %f, %f, %f, %f, %f, %f, %f, %f, %f)", PlayerName[playerid], model, bone, fOffsetX, fOffsetY, fOffsetZ, fRotX, fRotY, fRotZ, fScaleX, fScaleY, fScaleZ);
mysql_pquery(handle, query, "OnFinishPurchase", "id", playerid, index);
ClothesInfo[playerid][index][cID] = cache_insert_id();
Hier noch beim Laden ist glaube Fehlerfrei ^
cache_get_value_name_int(i, "0", ClothesInfo[playerid][i][cID]);
cache_get_value_name_int(i, "2", ClothesInfo[playerid][i][cModelID]);
cache_get_value_name_int(i, "3", ClothesInfo[playerid][i][cBoneID]);
cache_get_value_name_float(i, "4", ClothesInfo[playerid][i][cOffsetX]);
cache_get_value_name_float(i, "5", ClothesInfo[playerid][i][cOffsetY]);
cache_get_value_name_float(i, "6", ClothesInfo[playerid][i][cOffsetZ]);
cache_get_value_name_float(i, "7", ClothesInfo[playerid][i][cRotX]);
cache_get_value_name_float(i, "8", ClothesInfo[playerid][i][cRotY]);
cache_get_value_name_float(i, "9", ClothesInfo[playerid][i][cRotZ]);
cache_get_value_name_float(i, "10", ClothesInfo[playerid][i][cScaleX]);
cache_get_value_name_float(i, "11", ClothesInfo[playerid][i][cScaleY]);
cache_get_value_name_float(i, "12", ClothesInfo[playerid][i][cScaleZ]);
ClothesInfo[playerid][i][cOn] = true;