Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public sacuvajigraca;
- format(var, 32, "Komunalno=%s\n",PlayerInfo[playerid][pVremeZaSmetki1]);fwrite(hFile, var);
- format(var, 32, "Voda=%s\n",PlayerInfo[playerid][pVremeZaSmetki2]);fwrite(hFile, var);
- format(var, 32, "Struja=%s\n",PlayerInfo[playerid][pVremeZaSmetki]);fwrite(hFile, var);
- public onplayerlogins;// gi imas ovie?
- if( strcmp( key , "Struja" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pVremeZaSmetki] = strval( val ); }
- if( strcmp( key , "Komunalno" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pVremeZaSmetki1] = strval( val ); }
- if( strcmp( key , "Voda" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pVremeZaSmetki2] = strval( val ); }
- //----------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement