plugins/basefuncommands.sp
changeset 1378 115ba755bcdf
parent 1330 ab94316bb52b
child 1418 7404bb003948
     1.1 --- a/plugins/basefuncommands.sp	Sun Aug 26 20:12:30 2007 +0000
     1.2 +++ b/plugins/basefuncommands.sp	Mon Aug 27 02:00:37 2007 +0000
     1.3 @@ -95,7 +95,7 @@
     1.4  
     1.5  	GetClientName(target, Arg, sizeof(Arg));
     1.6  	ShowActivity(client, "%t", "Played Sound", Arg);
     1.7 -	LogMessage("\"%L\" played sound on \"%L\" (file \"%s\")", client, target, Arguments[len]);
     1.8 +	LogAction(client, target, "\"%L\" played sound on \"%L\" (file \"%s\")", client, target, Arguments[len]);
     1.9  
    1.10  	ClientCommand(target, "playgamesound \"%s\"", Arguments[len]);
    1.11  
    1.12 @@ -140,7 +140,7 @@
    1.13  	}
    1.14  
    1.15  	ShowActivity(client, "%t", "Ignited player", arg);
    1.16 -	LogMessage("\"%L\" ignited \"%L\" (seconds \"%f\")", client, target, seconds);
    1.17 +	LogAction(client, target, "\"%L\" ignited \"%L\" (seconds \"%f\")", client, target, seconds);
    1.18  	IgniteEntity(target, seconds);
    1.19  
    1.20  	return Plugin_Handled;
    1.21 @@ -184,7 +184,7 @@
    1.22  	}
    1.23  
    1.24  	ShowActivity(client, "%t", "Slapped player", arg);
    1.25 -	LogMessage("\"%L\" slapped \"%L\" (damage \"%d\")", client, target, damage);
    1.26 +	LogAction(client, target, "\"%L\" slapped \"%L\" (damage \"%d\")", client, target, damage);
    1.27  	SlapPlayer(target, damage, true);
    1.28  
    1.29  	return Plugin_Handled;
    1.30 @@ -216,7 +216,7 @@
    1.31  	}	
    1.32  
    1.33  	ShowActivity(client, "%t", "Slayed player", arg);
    1.34 -	LogMessage("\"%L\" slayed \"%L\"", client, target);
    1.35 +	LogAction(client, target, "\"%L\" slayed \"%L\"", client, target);
    1.36  	ForcePlayerSuicide(target);
    1.37  
    1.38  	return Plugin_Handled;