View Single Post
Author Message
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 06-07-2012 , 17:41   [TUT] Class Specifiers (new static stock public const)
Reply With Quote #1

Class Specifiers
and when to use them


Introduction

This tutorial assumes you know the basics about Pawn programming, which include (but not limited to):
  • scopes (no, not the zoom on a weapon)
  • general syntax
  • what variables and functions are

Need help understanding some of those?
Please read some tutorials under the "Pawn Programming" section in this post:
https://forums.alliedmods.net/showth...awnProgramming

New vs. Static
Spoiler


Stocks
Spoiler


Constants
Spoiler


Private vs. Public
Spoiler


Combining them, the most you would need to do is:
- new const
- static const
- public const
- stock const
- stock static const
- stock public const

There's a lot more combinations you could do, but that's all that would be even close to necessary.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!

Last edited by Exolent[jNr]; 06-11-2012 at 10:25.
Exolent[jNr] is offline