22.06.2010, 23:30
Hey people....
I got this command:
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
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;
}
And that gives me shit lots of errors with dcmd... so how to fix ?
Thank you