Writing an module.
Hello guys, i have someeee questions, i'm realy noob so be patient with me :twisted::twisted:
ok :) 1 . - amxmodx SDK and HLSDK , Microsoft Visual Studio are the only things i need to write a module ? ( i have also metamod sdk ). 2. For compiling the following code ( i'm trying to make a simple native just for learn ) i don't need metamod sdk no ? i read some tut. but are they very confusing , i learn more when i talk with people so : PHP Code:
So ... i'm very confused if somebody can give me some answers :D |
Re: Writing an module.
1) Correct, general AMXX development requires AMXX source, MM source and HLSDK
2) Yes, only using API of AMXX allows you to only require AMXX source. Note: Your native runs the risk of corrupting memory for the following reason: sizeof() is a constexpr, what this means is that it's value is obtained at compile time of your module, so basically, your for loop iterates the values of 0, 1, 2, 3 (pointers are 4 bytes long, aka 32 bit integers, on 32bit machines), you have no guarantee input array is 16 bytes long (AMXX cells are 32-bit integers, 4 bytes, multiplied by 4 for num indexes your iterating), you 100% must have a parameter in your native definition to pass array's size in PAWN and use that param in your callback. |
Re: Writing an module.
|
Re: Writing an module.
I wish Metamod and AMXX were written in C# : (
|
Re: Writing an module.
Quote:
|
Re: Writing an module.
Quote:
|
Re: Writing an module.
Quote:
|
Re: Writing an module.
What ? C# and Java ? When the original application i.e game engine is restricted to desktop environment, whats the use ? Unless for more overhead ?
|
Re: Writing an module.
Quote:
|
Re: Writing an module.
Is there OOP support in PAWN ?
|
All times are GMT -4. The time now is 21:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.