SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 13/09/2019, 08:22 PM   #1
LazarNerandzic
Big Clucker
 
Join Date: Feb 2019
Posts: 64
Reputation: 0
Default Error 017: undefined symbol '' ''

Can anyone help me, I edited my gamemode, putted some cmds and went to Compile it and then error popped up says: error 017:undefined symbol '' ''. There is nothing standing between '' '' so i dont know what have i done wrong, if someone please can help me
LazarNerandzic is offline   Reply With Quote
Old 13/09/2019, 08:23 PM   #2
Jonny
Huge Clucker
 
Jonny's Avatar
 
Join Date: Nov 2009
Location: Italy
Posts: 280
Reputation: 38
Default Re: Error 017: undefined symbol '' ''

Can you show us the line of the error please?
__________________
Jonny is offline   Reply With Quote
Old 13/09/2019, 08:28 PM   #3
LazarNerandzic
Big Clucker
 
Join Date: Feb 2019
Posts: 64
Reputation: 0
Default Re: Error 017: undefined symbol '' ''

C:\Users\as\Desktop\Balkan Cartel\gamemodes\BFRP.pwn(23856) : error 017: undefined symbol ""
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
LazarNerandzic is offline   Reply With Quote
Old 13/09/2019, 09:47 PM   #4
Stev
Big Clucker
 
Join Date: Oct 2013
Location: United Kingdom
Posts: 150
Reputation: 17
Default Re: Error 017: undefined symbol '' ''

What darkdrago means show us the code on line 23856, so we can debug it.
__________________
Join the best Cops And Robbers in SA-MP, today. svr.sfcnr.com:7777

Stev is offline   Reply With Quote
Old 14/09/2019, 07:50 AM   #5
LazarNerandzic
Big Clucker
 
Join Date: Feb 2019
Posts: 64
Reputation: 0
Default Re: Error 017: undefined symbol '' ''

https://i.imgsafe.org/c9/c9c0f06ea1.png
LazarNerandzic is offline   Reply With Quote
Old 14/09/2019, 08:43 AM   #6
Plastikmensch
Huge Clucker
 
Join Date: Aug 2016
Posts: 272
Reputation: 27
Default Re: Error 017: undefined symbol '' ''

You need to add a symbol to your directive
Code:
//wrong
#pragma unused

//correct
new a;
#pragma unused a
But I don't see any reason to use this directive.
Plastikmensch is offline   Reply With Quote
Old 14/09/2019, 09:21 AM   #7
LazarNerandzic
Big Clucker
 
Join Date: Feb 2019
Posts: 64
Reputation: 0
Default Re: Error 017: undefined symbol '' ''

Oh nvm, i just deleted that line and now everything is fine, thank you
LazarNerandzic is offline   Reply With Quote
Reply

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
symbol lookup error: plugins/mysql.so: undefined symbol: compress Grzechuso Scripting Help 2 06/01/2016 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 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 Gecko75 Scripting Help 5 21/05/2013 03:52 AM
Error 017: undefined symbol Smikkeltoetje Client Support 7 22/01/2013 07:38 AM


All times are GMT. The time now is 11:08 AM.


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