25.11.2011, 21:18
I really dont understand why not using zcmd, believe me Its way shorter... look at your shout cmd and look at mine
And thats all!
pawn Код:
CMD:s(playerid,params[])
{
if(isnull(params)) return SendClientMessage(playerid, COLOR_SYNTAX,"[SYNTAX]: /s [shout]");
new sendername[MAX_PLAYER_NAME], string[128];
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "%s Shouts: %s!!", sendername, params);
ProxDetector(40.0, playerid, string,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_FADE1,COLOR_FADE2);
return 1;
}