Raised This Month: $51 Target: $400
 12% 

Solved x1 line error compilation (inl files on console)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wizzkidon
Senior Member
Join Date: Jan 2017
Old 05-14-2022 , 17:32   x1 line error compilation (inl files on console)
Reply With Quote #1

Hello. I used this plugin for my DR mod: Mediafire

Old DR plugin made by tuty (2008-2010). The problem is not to hard, but for me it is
He worked only with the .inl files.

On QuestMod>Menus.inl you will see all knifes(quests) and abilities who used respective knife + acces.
For exemple, if u check, u will see one of this knifes who used all ppls(general acces - not special flag):

Code:
formatex( szFormatMenuEx, charsmax( szFormatMenuEx ), "Gordon Freeman \y[Primesti doar jumatate din daunele primite]" );
	menu_additem( menu, szFormatMenuEx, "14", 0 );

Under this lines, u will see:

Code:
	formatex( szFormatMenuEx, charsmax( szFormatMenuEx ), "Scientist \y[Esueaza un test stiintific pe inamic] \rVIP ONLY" );
	menu_additem( menu, szFormatMenuEx, "15", ADMIN_QUEST_ACCESS );

ADMIN_QUEST_ACCES = special acces not for all ppls. (only ppls who used AMX_CFG)

The problem is when i trying to give this acces to another knife, for ex Nightclawler:

Code:
	formatex( szFormatMenuEx, charsmax( szFormatMenuEx ), "Nightcrawler \y[Teleportare]" );
	menu_additem( menu, szFormatMenuEx, "7", ADMIN_QUEST_ACCES );

I recive this Error when i'm trying to compile:
Error code:

Code:
//QuestMod/Menus.inl(60) : error 017: undefined symbol "ADMIN_QUEST_ACCES"
//QuestMod/Menus.inl(60) : error 088: number of arguments does not match definition

Last edited by wizzkidon; 05-15-2022 at 06:01.
wizzkidon is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-14-2022 , 18:16   Re: x1 line error compilation (inl files on console)
Reply With Quote #2

Maybe try spelling it properly?
It can't be that hard copy/pasting it.
__________________

Last edited by OciXCrom; 05-14-2022 at 18:18.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
wizzkidon
Senior Member
Join Date: Jan 2017
Old 05-15-2022 , 04:06   Re: x1 line error compilation (inl files on console)
Reply With Quote #3

Quote:
Originally Posted by OciXCrom View Post
Maybe try spelling it properly?
It can't be that hard copy/pasting it.
LE:// Solved.

Last edited by wizzkidon; 05-15-2022 at 06:01.
wizzkidon is offline
Reply



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 01:28.


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