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

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 , 15: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 19:24.
tpr is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 05-17-2021 , 15: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 , 19: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 19:09. Reason: link has been added
tpr is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 05-20-2021 , 13: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)
[My plugins] [My tools] [GitHub] [Articles] [Donate]

Last edited by Dragokas; 05-20-2021 at 13:09.
Dragokas is offline
BAILOPAN
Join Date: Jan 2004
Old 05-20-2021 , 13: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 , 23: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
Senior Member
Join Date: Oct 2018
Location: Turkey
Old 05-27-2021 , 12: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
Send a message via AIM to Darkwob Send a message via Yahoo to Darkwob Send a message via Skype™ to Darkwob
tpr
Junior Member
Join Date: Aug 2014
Location: where my heart is
Old 05-31-2021 , 19: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 19: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 19:35.


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