Try this.
PHP Code:
UpdatePlayerData(playerid)
{
if(Player[playerid][IsLoggedIn] == true)
{
new query[600];
mysql_format(g_SQL, query, sizeof(query, "UPDATE `players` SET `skin_player` = '%d', `cash` = '%d WHERE `id` = '%d' LIMIT 1",
Player[playerid][Skin_Player],
Player[playerid][Cash],
Player[playerid][ID]);
mysql_tquery(g_SQL, query);
return 1;
}
}
And don't post screenshots of your code, please use pastebin or just post the code in the PHP feature on the forums.