First time creating natives
Hey, I am learning how to create natives and after reading the article on wiki I came up with this. Does it seem correct? At least it works but it doesn't necessarily mean that's it's 'smartly' done.
.inc file Code:
/** Code:
public APLRes AskPluginLoad2(Handle myself, bool late, char[] error, int err_max) Code:
CheckClientFlag(client, "b"); |
Re: First time creating natives
And yes, I know that a native like that doesn't make much sense but it's just an example.
|
Re: First time creating natives
PHP Code:
|
Re: First time creating natives
FYI, it isn't safe (or sane) to pass an empty command string to CheckCommandAccess.
|
Re: First time creating natives
Quote:
Quote:
|
Re: First time creating natives
Quote:
|
All times are GMT -4. The time now is 21:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.