26 Errors
#1

The last time I compiled, every was working and no errors just warnings. I did a few editings changing certain things to MSGBox's and such and I get errors
CODE:

E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(10 : error 017: undefined symbol "RPN"
E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(109) : error 017: undefined symbol "SendRobberyMessage"
E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(110) : error 017: undefined symbol "SendCopMessage"
E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(12 : error 017: undefined symbol "IsACop"
E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(132) : error 017: undefined symbol "IsACop"
E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(135) : error 017: undefined symbol "GiveDodMoney"
E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(263) : error 017: undefined symbol "IsPlayerLoggedIn"
E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(303) : error 017: undefined symbol "ResetDodWeapons"
E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(706) : error 017: undefined symbol "split"
E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(822) : error 017: undefined symbol "IsPlayerLoggedIn"
E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(827) : error 017: undefined symbol "RPNU"
E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(839) : error 017: undefined symbol "SaveDodAmmo"
E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(1153) : error 017: undefined symbol "SaveToys"
E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(1170) : error 017: undefined symbol "RPNU"
E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(1496) : error 017: undefined symbol "LoadToys"
E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(1503) : error 017: undefined symbol "RPN"
E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(1613) : error 017: undefined symbol "split"
E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(1624) : error 017: undefined symbol "GT"
E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(1625) : error 017: undefined symbol "GT"
E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(169 : error 017: undefined symbol "split"
E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(1723) : error 017: undefined symbol "HT"
E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(1724) : error 017: undefined symbol "HT"
E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(1800) : error 017: undefined symbol "fcreate"
E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(1810) : error 017: undefined symbol "split"
E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(1826) : error 017: undefined symbol "RBT"
E:\Entourage LS Roleplay\gamemodes\HCGRP.pwn(1827) : error 017: undefined symbol "RBT"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.


I know that this only happens when includes goes missing but that is not the case this time. I have a feeling a '{' or '}' is missing but I need help finding the cause. Thanks
Reply
#2

include is missing.
Reply
#3

What include? I have all my includes in one .inc file.
Reply
#4

First at all, check the { and }. I'm almost sure that's the reason...
Reply
#5

https://sampforum.blast.hk/showthread.php?tid=322839
https://sampforum.blast.hk/showthread.php?tid=291018
Find missing brackets.
Reply
#6

Quote:
Originally Posted by DutchyXXL
Посмотреть сообщение
What include? I have all my includes in one .inc file.
That, isn't a wise idea...

You're missing functions, which means your includes have an issue.

In particular, simply look for where SendRobberyMessage and SendCopMessage are defined, and that one, isn't being loaded...

Look at the rest of the places where those errors are, where the functions they relate to are being created, and there, is where the problem is.



When you say you have all includes in one inc file, are they all just listed in the file (Not too bad), or merged into one file with all includes in it?
Reply
#7

I fixed it, all the includes were working fine I just misplaced a '}' with else if
Reply
#8

Gotta +rep that fella.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)