HELPREQ - Commands
#2

first we would be needing to see your script as far as you made it, if you didn't make anything at all, start scripting and make the CORE, than come back post the script and maybe we can help.

as for report:

pawn Код:
new string[128];
if(!strcmp(cmdtext, "/report", true))
{
  if(cmdtext[8] == 0)
  {
    SendClientMessage(playerid, GRAY, "Fill something in.");
  }
  new playername[26];
  GetPlayerName(playerid, playername, 26);
  format(string, sizeof(string),"%s reported: %s", playername, cmdtext[8]);
  for(new i=0;i<MAX_PLAYERS;i++)
  {
    if(PlayerInfo[i][Admin] > 0) {
    SendClientMessage(i, RED ,string);
  }
  return 1;
}
Reply


Messages In This Thread
HELPREQ - Commands - by Mike Garber - 27.05.2009, 11:54
Re: HELPREQ - Commands - by Think - 27.05.2009, 13:08
Re: HELPREQ - Commands - by Mike Garber - 27.05.2009, 13:44
Re: HELPREQ - Commands - by Nero_3D - 27.05.2009, 14:10
Re: HELPREQ - Commands - by Mike Garber - 27.05.2009, 16:31
Re: HELPREQ - Commands - by Nero_3D - 27.05.2009, 17:40

Forum Jump:


Users browsing this thread: 2 Guest(s)