01.11.2018, 17:40
Faзa assim mano
No topo da GM
Em OnPlayerConnect
Em OnPlayerDisconnect
No topo da GM
Code:
#define PASTA_CONTAS "/Contas/%s.ini" // Mude caso nгo estiver correto a pasta de contas
Code:
new aname[MAX_PLAYER_NAME]; GetPlayerName(playerid, aname, sizeof(aname)); format(file, sizeof(file), PASTA_CONTAS, aname); SetPlayerSkin(playerid, DOF2_GetInt(file, "SkinPlayer"));
Code:
new conta [ 256 ]; format(conta, sizeof(conta), PASTA_CONTAS, PlayerName(playerid)); DOF2_SetInt(conta, "SkinPlayer", GetPlayerSkin(playerid));