Englisch Warning of the Bomb Tried to Be Planted Outside icon

7 Kommentare
23.07.18 02:02:36
like 1 mag es!
507 b, 8 Downloads
Taskin
User
Offline Off
Hello, this is my very first script.

> Description
This script provides; a little warning when a bomb planter tries to plant outside the field(s).

If there is a problem you're getting, please tell me.

Special thanks to user Masea.
1× editiert, zuletzt 23.07.18 09:53:36
Diese Datei ist ungeprüft!
Möglicherweise enthält sie gefährliche, unpassende oder minderwertige Inhalte. Nutzung auf eigene Gefahr.

Kommentare

7 Kommentare
Gehe zu Seite
Zum Anfang Vorherige 1 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen
25.07.18 01:24:48
like Ich mag es!
Hoch
BcY
User
Offline Off
Take a cookie.
23.07.18 13:02:56
Hoch
Cure Pikachu
User
Offline Off
user Taskin hat geschrieben:
About your third paragraph, I actually do not see the point, what do you want me to do?

At first I wanted to say "Raise the timer from 1000 to 5000", but after a little rest, what if you switch to cs2d cmd hudtxt2? That way you kill the fadeout effect and you can have the warning message up for as long as you want, free from client settings. That makes it uh... "idiot-proof"?
23.07.18 10:34:54
Hoch
Masea
Super User
Offline Off
@user Gaios: Well, there is currently not.
23.07.18 10:15:33
Hoch
Gaios
Security Supporter
Offline Off
But
there's default notification
by a client
23.07.18 09:58:06
Hoch
Taskin
User
Offline Off
@user Rainoth: It was supposed to be
msg2
anyway. I just forget it, sorry about that.

@user Cure Pikachu: About your first paragraph, I had no idea as well however I'll think about it in the future. About your second paragraph, it seems more sensible, I fixed it as that. About your third paragraph, I actually do not see the point, what do you want me to do?

Please check the code now, thank you guys.
23.07.18 02:35:39
Hoch
Cure Pikachu
User
Offline Off
• Attempting to plant the bomb is done using the attack button, which your script assumes it's LMB (majority will use this anyway), but it will cause problems for anybody using another button, like RMB (left-handers anyone?) for example. But, since there's no other alternative... (Attempting to plant the bomb does not trigger the cs2d lua hook attack hook, I tried)
•
msg("You can't plant the bomb because you are not in the field.")
should be
msg2(id,"You can't plant the bomb because you are not in the field.@C")
. It should only notify the bomber and not everyone else, not to mention it's also more "in your face" like in actual CS cause the message is in the center.
• The cooldown of 1 second that you implemented does not really mitigate the potential spam considering that hud_saytext_time and hud_centertext_time defaults to 10s and 5s respectively.
1× editiert, zuletzt 23.07.18 05:43:42
23.07.18 02:30:56
Hoch
Rainoth
Moderator
Offline Off
Start using msg2 instead of msg, otherwise a player can spam that message in the server.
Zum Anfang Vorherige 1 Nächste Zum Anfang