14.12.2012, 05:12
How would I clear deathlogs?
In a CMD: way?
In a CMD: way?
CMD:cleardeaths(playerid, params[])
{
SendDeathMessage(INVALID_PLAYER_ID, INVALID_PLAYER_ID, 0);
SendDeathMessage(INVALID_PLAYER_ID, INVALID_PLAYER_ID, 0);
SendDeathMessage(INVALID_PLAYER_ID, INVALID_PLAYER_ID, 0);
SendDeathMessage(INVALID_PLAYER_ID, INVALID_PLAYER_ID, 0);
SendDeathMessage(INVALID_PLAYER_ID, INVALID_PLAYER_ID, 0);
return 1;
}
CMD:cleardeaths(playerid,params[])
{
for(new i=0; i<7; i++)
{
SendDeathMessage(INVALID_PLAYER_ID, INVALID_PLAYER_ID, 200);
}
return 1;
}