07.04.2012, 08:40
Yep, will edit it in.
if (strcmp("/kill", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid, 0);
SetPlayerScore(playerid, GetPlayerScore(playerid) - 1);
new msg[128],
suicider[MAX_PLAYER_NAME];
GetPlayerName(playerid, suicider, sizeof suicider);
format(msg, sizeof(msg), "%s has commited suicide!", suicider);
SendClientMessageToAll(COLOR_RED, msg);
}
if (strcmp("/kill", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid, 0);
SetPlayerScore(playerid, GetPlayerScore(playerid) - 1);
new msg[128],
suicider[MAX_PLAYER_NAME];
GetPlayerName(playerid, suicider, sizeof suicider);
format(msg, sizeof(msg), "%s has commited suicide!", suicider);
SendClientMessageToAll(COLOR_RED, msg);
}