26.07.2009, 14:59
Try this also:
pawn Код:
dcmd_killmes(playerid,params[])
{
if(!strlen(params))return SendClientMessage(playerid,COLOR_YELLOW,"USAGE: /killmes [Custom death message]");
if(strlen(params) <= 1)return SendClientMessage(playerid,COLOR_YELLOW,"USAGE: /killmes [Custom death message]");
new string[32];
format(string,sizeof(string),"%s",params);
strmid(KillMes[playerid], string, 0, 31, 128);
SendClientMessage(playerid,COLOR_YELLOW,"You have updated ur msg");
return 1;
}