Raised This Month: $ Target: $400
 0% 

JCTF + GunGame


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
breakzuza
Member
Join Date: Feb 2011
Location: Romania
Old 01-10-2015 , 15:32   Re: JCTF + GunGame
Reply With Quote #1

Quote:
Originally Posted by Spirit_12 View Post
PHP Code:
/* id = player index who captured the enemy (iFlagTeam) flag */ 
            
new name[32]
            
get_user_name(idname31)
            if(
iFlagTeam == 2)
                {
                new 
cmd[129]
                
format(cmd,128"amx_gungame_level %s +1"name);
                
server_cmd(cmd);} 
hey....can someone help me with this?..to explain me how to add this on plugin?..i've tryed a lot of things but not worked...plugin dosent compile...
breakzuza is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 01-13-2015 , 17:47   Re: JCTF + GunGame
Reply With Quote #2

Quote:
Originally Posted by breakzuza View Post
hey....can someone help me with this?..to explain me how to add this on plugin?..i've tryed a lot of things but not worked...plugin dosent compile...
It won't compile, because its not the whole code. I just posted the section that, I was having issues with. The actual code includes jctf api and some GunGame commands. Its really not that hard to be honest, just try to look into amxmodx documentation and I'm sure you can figure it out.

http://www.amxmodx.org/doc/

Also this method is not that efficient. The only reason why I went with it was because, I wanted to create a sub-plugin that won't require any change to main plugins.
Spirit_12 is offline
breakzuza
Member
Join Date: Feb 2011
Location: Romania
Old 01-16-2015 , 05:44   Re: JCTF + GunGame
Reply With Quote #3

Quote:
Originally Posted by Spirit_12 View Post
It won't compile, because its not the whole code. I just posted the section that, I was having issues with. The actual code includes jctf api and some GunGame commands. Its really not that hard to be honest, just try to look into amxmodx documentation and I'm sure you can figure it out.

http://www.amxmodx.org/doc/

Also this method is not that efficient. The only reason why I went with it was because, I wanted to create a sub-plugin that won't require any change to main plugins.
ok...thx....done..thx for tips

Last edited by breakzuza; 01-16-2015 at 19:37.
breakzuza is offline
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 15:26.


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