25.07.2012, 10:52
pawn Код:
if(!strcmp(cmdtext, "/do", true, 3))
{
if(!cmdtext[3])return SendClientMessage(playerid, 0xFF0000FF, "Correct usage: /do [text]");
new str[128];
GetPlayerName(playerid, str, sizeof(str));
format(str, sizeof(str), "%s ((%s))", cmdtext[4], str);
ProxDetector(20.0, playerid, str, 0xFF85FFB0,0xFF85FFB0,0xFF85FFB0,0xFF85FFB0,0xFF85FFB0);
return 1;
}
Learn BASIC coding. Plus, search before doing this, it's that simple.