"/say [text]" -----> "// [text]" - Help please
#1

Hey people....

I got this command:

pawn Код:
dcmd_say(playerid, params[])
    {
      if(PlayerInfo[playerid][pAdmin] < 1) return 1;
        new string[128], server[128];
        if(sscanf(params, "s", server)) return SendHelpMessage(playerid, ".: Usage: // [text] :.");
        format(string, sizeof(string), "(( %s %s: %s ))", AdminRankName(playerid), pName(playerid), server);
        SendClientMessageToAll(COLOR_YELLOW2, string);
        return 1;
    }
But I want it to be "//" instead of "/say"

And that gives me shit lots of errors with dcmd... so how to fix ?

Thank you
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)