SA-MP Forums Archive
undefined symbol error help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: undefined symbol error help (/showthread.php?tid=545656)



undefined symbol error help - Trollerz - 09.11.2014

pawn Код:
C:\Users\ADMINI~1\AppData\Local\Temp\Rar$DI71.144\usfMain.pwn(620) : error 017: undefined symbol "EnableStuntBonXGGorAll"
C:\Users\ADMINI~1\AppData\Local\Temp\Rar$DI71.144\usfMain.pwn(3770) : warning 217: loose indentation
C:\Users\ADMINI~1\AppData\Local\Temp\Rar$DI71.144\usfMain.pwn(4691) : error 017: undefined symbol "EnableStuntBonXGGorAll"
C:\Users\ADMINI~1\AppData\Local\Temp\Rar$DI71.144\usfMain.pwn(4698) : error 017: undefined symbol "EnableStuntBonXGGorAll"
C:\Users\ADMINI~1\AppData\Local\Temp\Rar$DI71.144\usfMain.pwn(4716) : warning 217: loose indentation
C:\Users\ADMINI~1\AppData\Local\Temp\Rar$DI71.144\usfMain.pwn(4717) : warning 217: loose indentation
C:\Users\ADMINI~1\AppData\Local\Temp\Rar$DI71.144\usfMain.pwn(5275) : warning 217: loose indentation
C:\Users\ADMINI~1\AppData\Local\Temp\Rar$DI71.144\usfMain.pwn(5276) : warning 217: loose indentation
C:\Users\ADMINI~1\AppData\Local\Temp\Rar$DI71.144\usfMain.pwn(5277) : warning 217: loose indentation
C:\Users\ADMINI~1\AppData\Local\Temp\Rar$DI71.144\usfMain.pwn(5280) : error 021: symbol already defined: "SendClientMessage"
C:\Users\ADMINI~1\AppData\Local\Temp\Rar$DI71.144\usfMain.pwn(5281) : error 010: invalid function or declaration
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.


Error Line

pawn Код:
EnableStuntBonXGGorAll(varStuntBonus);
Help
+rep


Re: undefined symbol error help - DavidBilla - 09.11.2014

What are trying to do with that code?

It's supposed to be the following one if you want to disable stunt bonus
pawn Код:
EnableStuntBonusForAll(0);
Or
pawn Код:
EnableStuntBonusForAll(1);
To enable