Raised This Month: $ Target: $400
 0% 

[REQ] Soccerjam Plugin (Tournament)


Post New Thread Reply   
 
Thread Tools Display Modes
Pilat100
Member
Join Date: Sep 2009
Old 06-06-2010 , 09:00   Re: [REQ] Soccerjam Plugin (Tournament)
Reply With Quote #11

I tried placing debug ai min give other error msg and makes the server drops the server there is always falling

You can help min?
Pilat100 is offline
phertz2620
Junior Member
Join Date: Jan 2009
Old 06-06-2010 , 11:33   Re: [REQ] Soccerjam Plugin (Tournament)
Reply With Quote #12

Quote:
Originally Posted by unnyquee View Post
@ KiWigamez0r: you'll have to return HAM_HANDLED; after SetHamParamFloat for this to work.

PHP Code:
#include <hamsandwich>

public plugin_init()
      
RegisterHam(Ham_TakeDamage"player""Fwd_Ham_TakeDamage_Pre"0);

public 
Fwd_Ham_TakeDamage_Pre(iVictimiInflictoriAttackerFloat:flDamageiDamageBits)
{
      if(
is_user_alive(iAttacker) && (iVictim != ballholder) && (iAttacker != ballholder))
            return 
HAM_SUPERCEDE;
      
      return 
HAM_IGNORED;

Don't have time to test, but it should work. Give me a feedback, anyway, please .
By the way, this should replace KiWi's code. No offence, you can test them both.
It this for the Tournament version ?

Its only for the std. SoccerJam
phertz2620 is offline
Pilat100
Member
Join Date: Sep 2009
Old 06-06-2010 , 17:34   Re: [REQ] Soccerjam Plugin (Tournament)
Reply With Quote #13

L 06/06/2010 - 18:07:24: Info (map "sj_streetsoccer") (file "addons/amxmodx/logs/error_20100606.log")
L 06/06/2010 - 18:07:24: [CSTRIKE] Player out of range (0)
L 06/06/2010 - 18:07:24: [AMXX] Run time error 10 (plugin "faketeambot.amxx") (native "cs_set_user_team") - debug not enabled!
L 06/06/2010 - 18:07:24: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
Pilat100 is offline
phertz2620
Junior Member
Join Date: Jan 2009
Old 06-08-2010 , 08:23   Re: [REQ] Soccerjam Plugin (Tournament)
Reply With Quote #14

Still nothing ?
phertz2620 is offline
Reply


Thread Tools
Display Modes

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 19:44.


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