Zdravím potřebuju zjistit jak se dá ukládat pozice hráče a následně po přihlášení načítat,používám Advanced Registracion od uživatele Ewwe který běží na DOF2
Zde je kdyžtak můj OnPlayerDisconnect něco sem si tam už přidal ale to asi fungovat nebude.
public OnPlayerDisconnect(playerid, reason)
{
DOF2_SetInt(AC,"Penize",GetPlayerMoney(playerid),"Player Info");
DOF2_SetInt(AC,"Skin",GetPlayerSkin(playerid),"Player Info");
DOF2_SetFloat(AC,"Pozice",GetPlayerPos(playerid),"Player Info");// To je to co jsem přidal.
DOF2_SaveFile();
return 1;
}
Dotaz
liftZz 0
Zdravím potřebuju zjistit jak se dá ukládat pozice hráče a následně po přihlášení načítat,používám Advanced Registracion od uživatele Ewwe který běží na DOF2
Zde je kdyžtak můj OnPlayerDisconnect něco sem si tam už přidal ale to asi fungovat nebude.
Link to comment
Share on other sites
2 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now