can someone...
#4

pawn Код:
if(!strcmp(cmdtext,"/killmsg",true))
{
  new cmd[128];
  cmd=strtok(cmdtext,idx);
  if(!strlen(cmd)) return SendClientMessage(playerid,color,"/killmsg [1/2/3]");
  if(strval(cmd))
  {
    for(new i=0;i<MAX_PLAYERS;i++)
    {
      if(!IsPlayerConnected(i)) continue;
      GiveMoney(i,1000);
    }
  }
  if(strval(cmd)==2)
  {
    for(new i=0;i<MAX_PLAYERS;i++)
    {
      if(!IsPlayerConnected(i)) continue;
      GiveMoney(i,10000);
    }
  }
  if(strval(cmd)==3)
  {
    for(new i=0;i<MAX_PLAYERS;i++)
    {
      if(!IsPlayerConnected(i)) continue;
      GiveMoney(i,10000);
    }
  }
  return 1;
}
Reply


Messages In This Thread
can someone... - by nuriel8833 - 04.08.2009, 19:33
Re: can someone... - by MenaceX^ - 04.08.2009, 21:39
Re: can someone... - by [LL]InstabiC - 04.08.2009, 21:45
Re: can someone... - by MenaceX^ - 04.08.2009, 21:53
Re: can someone... - by speedruntrainer - 04.08.2009, 23:40
Re: can someone... - by nuriel8833 - 05.08.2009, 05:36

Forum Jump:


Users browsing this thread: 1 Guest(s)