AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Off-Topic (https://forums.alliedmods.net/forumdisplay.php?f=15)
-   -   Convert SourceMod to amxx .. ? (https://forums.alliedmods.net/showthread.php?t=262969)

GoldBoy1 05-16-2015 08:31

Convert SourceMod to amxx .. ?
 
Can this be possible ?

Mordekay 05-16-2015 08:42

Re: Convert SourceMod to amxx .. ?
 
No

Nextra 05-16-2015 09:12

Re: Convert SourceMod to amxx .. ?
 
:bacon!:

Powerlord 05-16-2015 11:11

Re: Convert SourceMod to amxx .. ?
 
If you mean a plugin, you may be able to manually convert SourceMod plugins the AMXModX plugins, but it really depends on what the plugin is doing.

GoldBoy1 05-16-2015 13:02

Re: Convert SourceMod to amxx .. ?
 
I mean basics . I know that the includes is diff ...
I mean simething like CreateConCvar / register_cvar

& Actions are almost the same ...

Nextra 05-16-2015 14:24

Re: Convert SourceMod to amxx .. ?
 
Advanced cvar functionality has been ported to AMXX already and is available in the dev builds. See here: http://www.amxmodx.org/api/cvars/create_cvar

^SmileY 05-16-2015 21:19

Re: Convert SourceMod to amxx .. ?
 
The method for handle some functions / commands is different. I guess only can do it manually.

GoldBoy1 05-17-2015 06:04

Re: Convert SourceMod to amxx .. ?
 
But making the menu and declaring var are the same.

Returning value are the same ( plugin_continue ...)
write_(x)

The same but the MsgId is diff.

Smily i didn't understand you! Like what?

^SmileY 05-17-2015 08:42

Re: Convert SourceMod to amxx .. ?
 
Cvar handle:

PHP Code:

new Handle:g_hMinPlayers INVALID_HANDLE

Some functions handle

PHP Code:

RegConsoleCmd(".sum",PugCmdSUM,"Shows the round stats");

// &
public Action:PugCmdSUM(iClient,iArgs

And other variables usage like decl String:sName[MAX_NAME_LENGTH];


All times are GMT -4. The time now is 18:40.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.