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

Solved Sourcemod #pragma List


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tpr
Junior Member
Join Date: Aug 2014
Location: where my heart is
Old 05-17-2021 , 14:11   Sourcemod #pragma List
Reply With Quote #1

Hi,

Could Anyone List All of the #pragma in Sourcemod ?


I know these :

#pragma semicolon 1
#pragma tabsize 0
#pragma newdecls optional
#pragma newdecls required
__________________
Mireda

Last edited by tpr; 05-17-2021 at 18:24.
tpr is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 05-17-2021 , 14:30   Re: Sourcemod #pragma List
Reply With Quote #2

There's this - https://github.com/alliedmodders/sou....cpp#L914-L998
Maxximou5 is offline
tpr
Junior Member
Join Date: Aug 2014
Location: where my heart is
Old 05-17-2021 , 18:05   Re: Sourcemod #pragma List
Reply With Quote #3

Quote:
Originally Posted by Maxximou5 View Post
Thanks Dude.


Pragma Lists For Who Needs :

#pragma ctrlchar
#pragma deprecated
#pragma dynamic
#pragma rational
#pragma semicolon
#pragma newdecls
#pragma tabsize
#pragma unused


And See Error and warning messages
__________________
Mireda

Last edited by tpr; 05-17-2021 at 18:09. Reason: link has been added
tpr is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 05-20-2021 , 12:06   Re: Sourcemod #pragma List
Reply With Quote #4

What is the purpose of #pragma rational ?

--
PS. Here is a link with a description of all other one: [Урок] Директивы препроцессора
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 05-20-2021 at 12:09.
Dragokas is offline
BAILOPAN
Join Date: Jan 2004
Old 05-20-2021 , 12:41   Re: Sourcemod #pragma List
Reply With Quote #5

Upstream Pawn (kind of, I doubt it's tested and working) lets you specify how fractional numbers work. You can pick between "float" and "fixed". We stripped this out to make the compiler simpler, and because support for this shouldn't be mutually exclusive anyway.
__________________
egg
BAILOPAN is offline
FroGeX
Senior Member
Join Date: Aug 2020
Old 05-20-2021 , 22:14   Re: Sourcemod #pragma List
Reply With Quote #6

Quote:
Originally Posted by BAILOPAN View Post
Upstream Pawn (kind of, I doubt it's tested and working) lets you specify how fractional numbers work. You can pick between "float" and "fixed". We stripped this out to make the compiler simpler, and because support for this shouldn't be mutually exclusive anyway.
Omg he is alive O.o
FroGeX is offline
Darkwob
BANNED
Join Date: Oct 2018
Old 05-27-2021 , 11:35   Re: Sourcemod #pragma List
Reply With Quote #7

So what's the point of this #pragma? and what values ​​used in pragma, such as "semicolon 1", mean.
Darkwob is offline
tpr
Junior Member
Join Date: Aug 2014
Location: where my heart is
Old 05-31-2021 , 18:03   Re: Sourcemod #pragma List
Reply With Quote #8

Quote:
Originally Posted by Darkwob View Post
So what's the point of this #pragma? and what values ​​used in pragma, such as "semicolon 1", mean.
explained here as a friend wrote upper :

PS. Here is a link with a description of all other one: [Урок] Директивы препроцессора
__________________
Mireda

Last edited by tpr; 05-31-2021 at 18:04.
tpr 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 08:55.


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