ZCMD - /b command?
#2

pawn Код:
CMD:b(playerid, params[])
{
    new text[128], string[128];
    new name[MAX_PLAYER_NAME];
    if(sscanf(params,"s[128]",text)) return SendClientMessage(playerid,-1,"{008000}Usage: /n [message]");
    else
    {
        GetPlayerName(playerid,name,sizeof(name));
        strreplace(name, '_', ' ');
        format(string,sizeof(string),"(( %s says: %s ))",name,text);
        SendNearbyMessage(30.0, playerid, string, COLOR_WHITE, COLOR_WHITE, COLOR_WHITE, COLOR_WHITE, COLOR_WHITE);
    }
    return 1;
}
Yours is probably ProxDetector so just change it to yours
Reply


Messages In This Thread
ZCMD - /b command? - by ThePhill97 - 26.11.2012, 14:39
Re : ZCMD - /b command? - by vernz - 26.11.2012, 14:52
Re: ZCMD - /b command? - by ThePhill97 - 26.11.2012, 15:03
Re : ZCMD - /b command? - by vernz - 26.11.2012, 15:06

Forum Jump:


Users browsing this thread: 1 Guest(s)