Raised This Month: $32 Target: $400
 8% 

Throwing a message in the compiler


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 01-06-2022 , 12:53   Throwing a message in the compiler
Reply With Quote #1

Is there a directive for showing custom messages in the compiler? Similar to #assert and #error but that does not break the script, just output a warning.
__________________









Last edited by CrazY.; 01-06-2022 at 12:53.
CrazY. is offline
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 01-06-2022 , 15:20   Re: Throwing a message in the compiler
Reply With Quote #2

Nope, just
Code:
#pragma deprecated Text

https://github.com/alliedmodders/amx...2.c#L999-L1163

And https://github.com/alliedmodders/amx....c#L1924-L1937
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 01-06-2022 , 15:45   Re: Throwing a message in the compiler
Reply With Quote #3

I see, didn't know it was available in the source of amxx, thank you.
__________________








CrazY. is offline
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 01-06-2022 , 16:03   Re: Throwing a message in the compiler
Reply With Quote #4

Quote:
Originally Posted by CrazY. View Post
I see, didn't know it was available in the source of amxx, thank you.
It's the source code of compiler.

No problem
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi 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 00:05.


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