[ H3LP ] 2d dynamic array
Hello, is there any way to pass 2d array through native?
Example: Code:
|
Re: [ H3LP ] 2d dynamic array
What is this? code is splitted into 2 sections where first is another plugin and second is another? if not then this wont work.
PluginID & NumParams are parameters for register_native [Style = 0] PS: new szWeapon[][]; << huh? (this is uninitalized, how compiler must set excact size of dimensions for that variable) |
Re: [ H3LP ] 2d dynamic array
It's just a example.
|
Re: [ H3LP ] 2d dynamic array
Quote:
When you want to retrieve something simply call arraygetstring depends on array type. |
Re: [ H3LP ] 2d dynamic array
I've solved this with bit-fields, not with array precisely.
|
| All times are GMT -4. The time now is 12:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.