Raised This Month: $60 Target: $400
 15% 

How to compile .sp files


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sakizao
Junior Member
Join Date: Jun 2020
Old 06-16-2020 , 00:00   How to compile .sp files
Reply With Quote #1

Hi Guys, im from brazil, so sorry for my poor english!

I'm trying to modificate some .sp files, in specific the liveon3.sp file em pugsetup folder...
but when i try to compile, there is a load off "undefined symbols" it looks like it is missing other files,
so as a result it does not compile and almost all lines of the code has errors.
i think there is an hierarchy to compile an .sp file but i dont understand what files to join and compile

Could someone teach me how to do it? i need to understand the synthax

Thanks
Leo
sakizao is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 06-16-2020 , 00:09   Re: How to compile .sp files
Reply With Quote #2

Moved to source mod
__________________
Bugsy is offline
Weetabix
Member
Join Date: Feb 2017
Location: United Kingdom
Old 06-16-2020 , 06:52   Re: How to compile .sp files
Reply With Quote #3

What are you using to edit the files? SPEdit, Notepad?
Weetabix is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 06-16-2020 , 09:16   Re: How to compile .sp files
Reply With Quote #4

Hi Saki, usually this error means that the variable does not exist. Maybe you have a mismatched "{" , "} ". Is easier to help if you could attach the .sp file.

----------

Brazil

Bom dia querido, isso ai geralmente significa que a variavel não está declarada, ou porque você não colocou um #include necessário ou porque está sem mesmo.

Se você quiser testar, coloca algo tipo assim no começo do código

int g_GameState;

Ai você vai ver que o warning some, provavelmente está faltando as variaveis ou você fechou o código com alguma chave "{" / "}" incorreta,

O pessoal consegue te ajudar melhor se você postar o código do ".sp" aqui.
__________________

Last edited by Marttt; 06-16-2020 at 09:17.
Marttt is online now
sakizao
Junior Member
Join Date: Jun 2020
Old 07-27-2020 , 16:08   Re: How to compile .sp files
Reply With Quote #5

Heys Guys thanks alot for all your help!
I have discovered the problem, I wanted to compile PUGSETUP, but there is an hierarchy that i have to respect, and include files!

Thanks again for the help!
sakizao is offline
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

Forum Jump


All times are GMT -4. The time now is 10:03.


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