17.04.2011, 10:51
Install dcmd
https://sampwiki.blast.hk/wiki/Fast_Commands
and try this
put under OnPlayerCommandText
dcmd(me,2,cmdtext);
https://sampwiki.blast.hk/wiki/Fast_Commands
and try this
put under OnPlayerCommandText
dcmd(me,2,cmdtext);
pawn Code:
dcmd_me(playerid,params[])
{
if(!strlen(params)) return SendClientMessage(playerid, RED, "USAGE: /me [action]");
new string[128],name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(string,sizeof(string),"* %s %s",name,params);
print(string);
return ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
}