14.12.2013, 15:16
pawn Code:
public OnPlayerDisconnect(playerid, reason) {
new str[200], Nome[24];
GetPlayerName(playerid, Nome, 24);
format(str, sizeof(str), "UPDATE tabeladaconta SET Skin=%i WHERE Nome='%s'", GetPlayerSkin(playerid), Nome);
mysql_query(conexao, str);
return 1;
}