SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > 0.3.7 RC Scripting

 
 
Thread Tools Display Modes
Old 06/06/2015, 11:01 AM   #1
Ahmeeed
Little Clucker
 
Join Date: Jun 2014
Posts: 17
Reputation: 0
Default Undefined Symbol Error![HELP]

Code:
error 017: undefined symbol "ERP_DialogBase"
Here's the line
Code:
enum {
	ERP_BankChoose = ERP_DialogBase +1,
__________________
Los Santos Syndicals RolePlay
94.23.220.78:8027
Did i help you? Click on the black star below my avatar
Ahmeeed is offline  
Old 06/06/2015, 12:43 PM   #2
valych
Big Clucker
 
valych's Avatar
 
Join Date: Aug 2009
Posts: 113
Reputation: 15
Default Re: Undefined Symbol Error![HELP]

I guess there is no such variable (or whatever) named ERP_DialogBase. Also, it is possible that ERP_DialogBase is defined AFTER your enum. For example:
Code:
enum {
ERP_BankChoose = ERP_DialogBase +1
}

#define ERP_DialogBase 0
To get rid of this error, you should move your enum below the ERP_DialogBase:
Code:
#define ERP_DialogBase 0

enum {
ERP_BankChoose = ERP_DialogBase +1
}
valych is offline  
 

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
error 017: undefined symbol b00m112 Scripting Help 3 22/09/2014 03:52 PM
error 017: undefined symbol "ReadPlayer" and error 017: undefined symbol "WritePlayer" brandypol Scripting Help 8 26/08/2014 06:16 PM
Error 021: Undefined Symbol VictorCreed Scripting Help 6 30/06/2014 05:22 PM
error 017: undefined symbol,fatal error 107: too many error messages on one line Slicebook Scripting Help 11 04/05/2014 08:30 PM
Undefined Symbol error Respekt Help Archive 3 10/05/2011 01:58 PM


All times are GMT. The time now is 07:51 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.