30.01.2015, 18:39
Are you using zcmd? Can you explain what the command is supposed to do exactly?
Is it that if I type "/dpm Hello!" all the other players see: "Schneider says: Hello!" ?
In that case:
Is it that if I type "/dpm Hello!" all the other players see: "Schneider says: Hello!" ?
In that case:
pawn Код:
CMD:dpm(playerid, params[])
{
new playername[MAX_PLAYER_NAME];
new string[128];
GetPlayerName(playerid, playername, sizeof(playername));
format(string, sizeof(string), "%s says: %s", playername, params);
SendClientMessageToAll(COLOR_SAY, string);
return 1;
}