@@ -342,7 +342,7 @@ ExecuteSlapCommand(playerId, targetPlayerId) {
342342// Author: Jay, Russell
343343lvp_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