AMXX mysteries?
There are few things I'd like to understand but ...
funcwiki doesn't contain 'em, nothing on discussion boards, nothing in plugins etc. Reserved words: assert, defined, sleep Pre-defined constants: cellbits, cellmax, cellmin, charbits, charmax, charmin, debug Tags: fixed (e.g. new fixed:my_fixed_variable_lol) Not sure about what this is: operator That's it. Anyone knows what these are? Thank you. |
Re: AMXX mysteries?
operator is, I believe, used in overriding operators for certain types.
So you can create a type (like Float) and you can provide a function so that when you add two together, it uses your function instead of just adding them. "assert x" is a pre-compiler thing, it means "if not x, quit compiling" defined is used in a #if expression (usually not-ed): #if !defined charsmax #define charsmax(%1) sizeof(%1)-1 #endif EDIT: Did you read the PAWN Language documentation?(here) (Or is that where you found the words? Pretty sure it explains them) |
Re: AMXX mysteries?
I found these in syntax highlight file for Crimson editor. I did consult it with Pawn language afterwards ... but got no answer e.g. about sleep. Well I did but it doesn't work the way they describe it ...
|
Re: AMXX mysteries?
I wouldn't expect it to.
It is really designed for when you have slightly more control about the main process->plugin interaction than you do with HLDS. (i.e. if you've written both) (I assume ... nfc, to be totally honest) |
| All times are GMT -4. The time now is 11:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.