Raised This Month: $ Target: $400
 0% 

Hero: Sentinel Psylocke


  
 
 
Thread Tools Display Modes
Author Message
JASerrano
Junior Member
Join Date: Aug 2004
Old 08-20-2004 , 17:45   Hero: Sentinel Psylocke
#1

For some reason after a while these stopped working on my server, for example sentinel would start shooting everyone even me when i put it down. Psylocke would just stop working and not saying when the person was 30 meters...etc. any help
__________________
Im 100% addicted to Counter-Strike, what about you?¿?

http://www.angelfire.com/hero2/superheromodfun/
JASerrano is offline
Send a message via AIM to JASerrano
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 09-25-2004 , 09:31  
#2

Heres a fix for psylock. Test it and tell me how it goes. I wasnt very impressed at coding and it was really fux0red so thus why it stoped working.

Try it and let me know.

Compiled for AMX
Attached Files
File Type: zip psylock.zip (2.4 KB, 146 views)
Freecode is offline
imported_OmegaQuest
Junior Member
Join Date: Jun 2003
Old 10-26-2004 , 14:02  
#3

For some reason, this hero is available to everyone even if they dont have the Hero, they still have the Powers...

I use AMX 9.7 and SH Mod 1.17.4

Thanks
__________________
imported_OmegaQuest is offline
ArtofDrowning07
Senior Member
Join Date: Aug 2004
Old 10-26-2004 , 15:17  
#4

change:
Code:
		if ( !gHastrPower[players[id]] && !is_user_alive(players[id]) )
			return PLUGIN_HANDLED
to:
Code:
		if ( !gHastrPower[players[id]] || !is_user_alive(players[id]) )
			return PLUGIN_HANDLED
ArtofDrowning07 is offline
imported_OmegaQuest
Junior Member
Join Date: Jun 2003
Old 10-27-2004 , 09:56  
#5

Hmmm, why would I change it to that ?

|| = or so that means if they have the Power or is alive right ?
__________________
imported_OmegaQuest is offline
imported_OmegaQuest
Junior Member
Join Date: Jun 2003
Old 11-01-2004 , 13:57  
#6

*bump*
__________________
imported_OmegaQuest is offline
Prowler
Senior Member
Join Date: Nov 2004
Old 11-01-2004 , 22:07  
#7

! = not
|| = or
&& = and

Basically that means if the Player is NOT alive OR does NOT have the power then end the plugin, instead of if the player Does NOT have the power AND is Not alive, meaning that if he is alive, he has it even if he doesnt have the power, or if he is dead he still has the power. only if he is both dead and doesnt have the power will it not activate with the old way
Prowler is offline
ArtofDrowning07
Senior Member
Join Date: Aug 2004
Old 11-03-2004 , 15:37  
#8

correct..lol thanks 4 explainin 4 me
ArtofDrowning07 is offline
 



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:09.


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