Edit plugin
Hi all, someone can change notice PrintToChatAll("Player \"%s\" has been killed.", to player "name" killed player "name"
PHP Code:
|
Re: Edit plugin
PHP Code:
|
Re: Edit plugin
Might have to check if attack client id isn't 0. Because the attacker can be the world which is entity #0
|
Re: Edit plugin
Don't forget to use %N instead of GetClientName and %s.
PHP Code:
|
Re: Edit plugin
cant compile
/groups/sourcemod/compiler-1.7/include/sourcemod.inc(101) : error 025: function heading differs from prototype /home/groups/sourcemod/upload_tmp/phpt6ARtA.sp(12) : error 025: function heading differs from prototype |
Re: Edit plugin
Quote:
|
Re: Edit plugin
Ah forgot about world :( Only quickly put it together.
Would also need to check that the attacker isn't the victim as then it would print Bob was killed by Bob. Which is acceptable but wouldn't it be better to have Bob killed himself or Bob suicided. PHP Code:
|
Re: Edit plugin
thank u guys !!
|
All times are GMT -4. The time now is 01:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.