Jump to content
  • 0

pomoc skin


Guest [BJ]boban88

Dotaz

Guest [BJ]boban88

caute potrebujem ukladanie skinu mam v mode ale nejak to nefunguje ukazem ako to mam:

 

v discconecte mam:

dini_IntSet(file, "skin",GetPlayerSkin(playerid));

 

a v onplayerspawn:

SetPlayerSkin(playerid, dini_Int(file,"skin"));

btw aj ked je to v logine tak to nejde

 

ale nejak to nejde :d kazda rada je dobra okrem spamov :v: :v:

Link to comment
Share on other sites

6 odpovědí na tuto otázku

Recommended Posts

  • 0

Includes

#include 
#include 

 

public OnPlayerDisconnect

dUserSetINT(PlayerName(playerid)).("Skin",GetPlayerSkin(playerid));

 

OnPlayerSpawn:

SetPlayerSkin(playerid,dUserINT(PlayerName(playerid)).("Skin")-GetPlayerSkin(playerid));

Link to comment
Share on other sites

  • 0

Opet je tam ta polozka file ale to uz si nejak preberes :)

 

Do disconnectu/save

dini_IntSet(file, "Skin", GetPlayerSkin(playerid));

 

Do spawn

if (Tva promenna loginu == true)
{
    SetPlayerSkin(playerid, dini_Int(file, "Skin"));
}

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...