This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

save origins broke from cs update help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Anonymous
Member
Join Date: Nov 2009
Location: Anonuser.org
Old 01-31-2015 , 20:38   save origins broke from cs update help
Reply With Quote #1

Why does this not work anymore? Can someone help?

Code:
SaveOrigins( )
{
    new iFile = fopen( g_szMapFile, "wt" );
    
    if( !iFile )
    {
        return;
    }
    
    fprintf( iFile, "%f %f %f^n", g_vecOrigin[ 0 ][ 0 ], g_vecOrigin[ 0 ][ 1 ], g_vecOrigin[ 0 ][ 2 ] );
    fprintf( iFile, "%f %f %f", g_vecOrigin[ 1 ][ 0 ], g_vecOrigin[ 1 ][ 1 ], g_vecOrigin[ 1 ][ 2 ] );
    
    fclose( iFile );
    
    g_bOriginSet = ValidOrigins( );
}
__________________
This site is filled with shitters who call themselves experts.
Anonymous is offline
Anonymous
Member
Join Date: Nov 2009
Location: Anonuser.org
Old 01-31-2015 , 20:56   Re: save origins broke from cs update help
Reply With Quote #2

Problem solved. Changed g_szMapFile to wt+
__________________
This site is filled with shitters who call themselves experts.
Anonymous is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode