Raised This Month: $51 Target: $400
 12% 

Convert SourceMod to amxx .. ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GoldBoy1
Junior Member
Join Date: Apr 2015
Old 05-16-2015 , 08:31   Convert SourceMod to amxx .. ?
Reply With Quote #1

Can this be possible ?
GoldBoy1 is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 05-16-2015 , 08:42   Re: Convert SourceMod to amxx .. ?
Reply With Quote #2

No
__________________

Mordekay is offline
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 05-16-2015 , 09:12   Re: Convert SourceMod to amxx .. ?
Reply With Quote #3

__________________
In Flames we trust!
Nextra is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-16-2015 , 11:11   Re: Convert SourceMod to amxx .. ?
Reply With Quote #4

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.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
GoldBoy1
Junior Member
Join Date: Apr 2015
Old 05-16-2015 , 13:02   Re: Convert SourceMod to amxx .. ?
Reply With Quote #5

I mean basics . I know that the includes is diff ...
I mean simething like CreateConCvar / register_cvar

& Actions are almost the same ...
GoldBoy1 is offline
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 05-16-2015 , 14:24   Re: Convert SourceMod to amxx .. ?
Reply With Quote #6

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
__________________
In Flames we trust!
Nextra is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 05-16-2015 , 21:19   Re: Convert SourceMod to amxx .. ?
Reply With Quote #7

The method for handle some functions / commands is different. I guess only can do it manually.
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
GoldBoy1
Junior Member
Join Date: Apr 2015
Old 05-17-2015 , 06:04   Re: Convert SourceMod to amxx .. ?
Reply With Quote #8

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?
GoldBoy1 is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 05-17-2015 , 08:42   Re: Convert SourceMod to amxx .. ?
Reply With Quote #9

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];
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:45.


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