Raised This Month: $ Target: $400
 0% 

Symbol already defined?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Zenith77
Veteran Member
Join Date: Aug 2005
Old 10-13-2005 , 01:45   Re: Symbol already defined?
Reply With Quote #2

Quote:
Originally Posted by SentryIII
Hi, this doesnt make sense to me. Its telling me 'format' is already defined? Little help here please...

Code:
new reports_filename[128],requests_filename[128],logspath[64],basepath = get_basedir() format(logspath, 63, "%s/logs/", basepath) format(reports_filename, 127, "%s/reports.log", logspath) format(requests_filename, 127, "%s/requests.log", logspath)

Code:
Welcome to the AMX Mod X 1.60-300 Compiler.
Copyright (c) 1997-2005 ITB CompuPhase, AMX Mod X Team

Error: Symbol already defined: "format" on line 11
Warning: Symbol is never used: "basepath" on line 99
Warning: Symbol is never used: "logspath" on line 99

1 Error.
Could not locate output file C:\Program Files\AMXX Studio\plugins\rnr.amx (compile failed).


Line 11 is:
Code:
format(logspath, 63, "%s/logs/", basepath)

Take out one of these

Code:
format(reports_filename, 127, "%s/reports.log", logspath) format(requests_filename, 127, "%s/requests.log", logspath)


I have no clue why you did it twice...
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
 



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 23:40.


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