Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ucitavanje igraca
- forward LoadUser_data(playerid, name[], value[]);
- public LoadUser_data(playerid, name[], value[])
- {
- INI_Int("Sifra",PlayerInfo[playerid][pSifra]);
- INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
- INI_Int("Novac",PlayerInfo[playerid][pNovac]);
- INI_Int("Ubistva",PlayerInfo[playerid][pUbistva]);
- INI_Int("Smrti",PlayerInfo[playerid][pSmrti]);
- INI_Int("Skin",PlayerInfo[playerid][pSkin]);
- INI_Int("Skor",PlayerInfo[playerid][pSkor]);
- INI_Int("Mutiran",PlayerInfo[playerid][pMutiran]);
- INI_Int("MutiranVreme",PlayerInfo[playerid][pMutiranVreme]);
- INI_Int("Banned", PlayerInfo[playerid][pBanned]);
- return 1;
- }
- stock SavePlayer(playerid)
- {
- new INI:File = INI_Open(UserPath(playerid));
- INI_SetTag(File,"data");
- INI_WriteInt(File,"Admin",PlayerInfo[playerid][pAdmin]);
- INI_WriteInt(File,"Novac",PlayerInfo[playerid][pNovac]);
- INI_WriteInt(File,"Ubistva",PlayerInfo[playerid][pUbistva]);
- INI_WriteInt(File,"Smrti",PlayerInfo[playerid][pSmrti]);
- INI_WriteInt(File,"Skin",PlayerInfo[playerid][pSkin]);
- INI_WriteInt(File,"Skor",PlayerInfo[playerid][pSkor]);
- INI_WriteInt(File,"Mutiran",PlayerInfo[playerid][pMutiran]);
- INI_WriteInt(File,"MutiranVreme",PlayerInfo[playerid][pMutiranVreme]);
- INI_Close(File);
- return 1;
- }
- 109.92.189.10
Advertisement
Add Comment
Please, Sign In to add comment