Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock SavePlayer(playerid)
- {
- //new StrText[80];
- //format(StrText, 80,Korisnici , GetName(playerid));
- //if(fexist(StrText))
- {
- new INI:File = INI_Open(Korisnici(playerid));//new INI:File = INI_Open(StrText);
- INI_SetTag(File,"data");
- INI_WriteInt(File,"Admin",PlayerInfo[playerid][pAdmin]);
- INI_WriteInt(File,"Score",PlayerInfo[playerid][pScore]);
- INI_WriteInt(File,"Helper",PlayerInfo[playerid][pHelper]);
- INI_WriteInt(File,"Skin",PlayerInfo[playerid][pSkin]);
- INI_WriteInt(File,"pCash",PlayerInfo[playerid][pCash]);
- INI_WriteInt(File,"pBankmoney",PlayerInfo[playerid][pBankmoney]);
- INI_Close(File);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment