/try command help
#5

pawn Код:
if(!strcmp(cmdtext,"/try",true))
{
  if(cmdtext[idx++]!=32||cmdtext[idx]==EOS) return SendClientMessage(playerid,color,"/try [action]");
  format(string,sizeof(string),"* %s attempts to %s",name,cmdtext[idx]);
  switch(random(2))
  {
    case 0: format(string,sizeof(string),"%s, and succeeds.",string);
    default: format(string,sizeof(string),"%s, but fails.",string);
  }
  SendClientMessageToAll(color,string);
  return 1;
}
Reply


Messages In This Thread
/try command help - by pablodc - 26.08.2009, 12:05
Re: /try command help - by Paladin - 26.08.2009, 12:44
Re: /try command help - by pablodc - 26.08.2009, 13:12
Re: /try command help - by Paladin - 26.08.2009, 13:17
Re: /try command help - by MenaceX^ - 26.08.2009, 13:20
Re: /try command help - by pablodc - 26.08.2009, 13:29
Re: /try command help - by MenaceX^ - 26.08.2009, 13:29
Re: /try command help - by pablodc - 26.08.2009, 13:30
Re: /try command help - by MenaceX^ - 26.08.2009, 13:35
Re: /try command help - by pablodc - 26.08.2009, 13:43

Forum Jump:


Users browsing this thread: 1 Guest(s)