14.11.2013, 11:00
I'm still looking for a clear answer. thanks!
Edit: and from the guy abover me. Yes I had it already.
Edit: and from the guy abover me. Yes I had it already.
Код:
#if USE_MYSQL == true new query[800]; format(query, sizeof(query), "UPDATE `"#MYSQL_TABLE"` SET `XPos` = %.2f, `YPos` = %.2f, `ZPos` = %.2f, `AdminLevel` = %d, `VIPLevel` = %d, `WantedLevel` = %d, \ `Kills` = %d, `Deaths` = %d, `Money` = %d, `Score` = %d, `Health` = %.2f, `Armour` = %.2f, `Hours` = %d, `Minutes` = %d, `Seconds` = %d, `LastSkin` = %d, `KickCount` = %d, `SpawnCount` = %d, `ReportCount` = %d, `Warnings` = %d, `FailLogin` = %d, `RconAttempt` = %d \ WHERE `PlayerName` = '%s'", POS[0], POS[1], POS[2], PlayerInfo[playerid][AdminLevel], PlayerInfo[playerid][VIPLevel], GetPlayerWantedLevel(playerid), PlayerInfo[playerid][Kills], PlayerInfo[playerid][Deaths], GetPlayerMoney(playerid), GetPlayerScore(playerid), health, armour, h, m, s, PlayerInfo[playerid][LastSkin], PlayerInfo[playerid][KickCount], PlayerInfo[playerid][SpawnCount], PlayerInfo[playerid][ReportCount], PlayerInfo[playerid][Warnings], PlayerInfo[playerid][FailLogin], PlayerInfo[playerid][RconAttempt], GetName(playerid));