Skip to content

Commit 4157b47

Browse files
authored
Update General.pwn (#794)
* Update General.pwn * Update WeaponUtilities.pwn
1 parent 7e5633c commit 4157b47

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pawn/Elements/Player/Commands/General.pwn

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ ExecuteSlapCommand(playerId, targetPlayerId) {
342342
// Author: Jay, Russell
343343
lvp_slap(playerId, params[]) {
344344
if(!params[0]) {
345-
SendClientMessage(playerId, Color::Information, "Usage: /slap [player]");
345+
SendClientMessage(playerId, Color::Information, "Usage: /slap [player], /slapback");
346346
return 1;
347347
}
348348

@@ -363,8 +363,8 @@ lvp_slap(playerId, params[]) {
363363
UndercoverAdministrator(playerId)->getOriginalUserId() == 31797;
364364

365365
new timeSinceLastSlap = Time->currentTime() - g_LastSlapTime[playerId];
366-
if (timeSinceLastSlap < 10 /* seconds */ && !isLuce) {
367-
SendClientMessage(playerId, Color::Warning, "Error: You can only slap once per 10 seconds.");
366+
if (timeSinceLastSlap < 7 /* seconds */ && !isLuce) {
367+
SendClientMessage(playerId, Color::Warning, "Error: You can only slap once per 7 seconds.");
368368
return 1;
369369
}
370370

@@ -397,8 +397,8 @@ lvp_slapb(playerId, params[]) {
397397
}
398398

399399
new timeSinceLastSlap = Time->currentTime() - g_LastSlapTime[playerId];
400-
if (timeSinceLastSlap < 10 /* seconds */) {
401-
SendClientMessage(playerId, Color::Warning, "Error: You can only slap once per 10 seconds.");
400+
if (timeSinceLastSlap < 7 /* seconds */) {
401+
SendClientMessage(playerId, Color::Warning, "Error: You can only slap once per 7 seconds.");
402402
return 1;
403403
}
404404

0 commit comments

Comments
 (0)