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

[L4D1/2] Assistance System


Post New Thread Reply   
 
Thread Tools Display Modes
chu1720
Senior Member
Join Date: Mar 2010
Location: Hong Kong
Old 06-17-2010 , 14:06   Re: [L4D1/2] Assistance System
Reply With Quote #21

Quote:
Originally Posted by [E]c View Post
Luv u chu1720
In your .sp file, why there will be a line (line 72) "if (DamageHealth < 1024)"?
chu1720 is offline
Send a message via MSN to chu1720
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 08-14-2010 , 23:52   Re: [L4D1/2] Assistance System
Reply With Quote #22

- Shortened the process which checks the victimModel.
- Removed " | Assist" when nobody assisted.

Could someone please change the PrintToChatAll so it will not show "Smoker (Smoker)" when they have the same name and "Player (Smoker)" when they are different?

Last edited by Silvers; 08-23-2010 at 19:19.
Silvers is offline
ki1418z
Junior Member
Join Date: Jul 2010
Location: Hong Kong
Old 08-15-2010 , 02:21   Re: [L4D1/2] Assistance System
Reply With Quote #23

Quote:
Originally Posted by Silvers View Post
- Shortened the process which checks the victimModel.
- Removed " | Assist" when nobody assisted.

Could someone please change the PrintToChatAll so it will not show "Smoker (Smoker)" when they have the same name and "Player (Smoker)" when they are different?
Nice!
__________________
If everyone have paypal a/c,
we can gain money with Neobux and Onbux,
they will send money to your paypal a/c if you keep to visit their advertising.

The next step is send the money to the forum for donation.
ki1418z is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 08-15-2010 , 05:59   Re: [L4D1/2] Assistance System
Reply With Quote #24

Updated again, added what I asked for in my post above. Names which are the same as their special infected character will not be repeated, for example no more "(1)Boomer (Boomer)" but if their name is different than it will show "PlayerName (Boomer)".

EDIT: There is a problem when someones name is eg "IamTheHunterKing", it will show their name as Hunter... This maybe preventable by using IsFakeClient() or something to only wipe the string when it's not a real player?

Anyone care to do more? I'm still new to SourcePawn


EDIT2: Another bug, it has always been there for me. It shows nothing for killing the Witch.

EDIT3: Found another bug, removing till I can sort it out.

Last edited by Silvers; 08-15-2010 at 17:37. Reason: Found small bug
Silvers is offline
Cthulhu
Member
Join Date: Apr 2010
Old 08-15-2010 , 07:51   Re: [L4D1/2] Assistance System
Reply With Quote #25

Failed to compile when click "get plugin" :-(
Cthulhu is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 08-15-2010 , 07:54   Re: [L4D1/2] Assistance System
Reply With Quote #26

Quote:
Originally Posted by Cthulhu View Post
Failed to compile when click "get plugin" :-(
Because it uses the colors extension, you must compile locally. See the first page.
Silvers is offline
Cthulhu
Member
Join Date: Apr 2010
Old 08-15-2010 , 08:03   Re: [L4D1/2] Assistance System
Reply With Quote #27

Could upload the .smx file?
Cthulhu is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 08-15-2010 , 08:11   Re: [L4D1/2] Assistance System
Reply With Quote #28

Quote:
Originally Posted by Cthulhu View Post
Could upload the .smx file?
Please note the bugs I mentioned above. If someone on the infected team has a special infected name in their name (For example "IamHunterKing") it will not show within the brackets which infected they. Please someone fix, I don't know how!

Last edited by Silvers; 08-15-2010 at 17:38.
Silvers is offline
Cthulhu
Member
Join Date: Apr 2010
Old 08-15-2010 , 18:58   Re: [L4D1/2] Assistance System
Reply With Quote #29

I found an error. Only tested with tank

Player (unknow) got killed.....
Cthulhu is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 08-15-2010 , 19:08   Re: [L4D1/2] Assistance System
Reply With Quote #30

Sorry I'll post a new SMX/SP soon, I realise a couple problems.
Silvers 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 11:13.


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