29.05.2014, 12:33
I don't know about '# chat'
but yes you can make like this too
but yes you can make like this too
Код:
CMD:achat(playerid,params[]) { if(IsPlayerAdmin(playerid)) { new str[144]; if(sscanf(params,"s[144]",str)) { SendClientMessage(playerid,-1,"/achat [text]"); return 1; } else { new str1[128]; new name[128]; GetPlayerName(playerid,name,sizeof(name)); format(str1,sizeof(str1),"*Admin %s:%s",name,str); SendClientMessageToAll(-1,str1); } } else { SendClientMessage(playerid,-1,"You are not an Admin"); return 1; } return1; }