Help making a /go cmd
#4

pawn Код:
CMD:go(playerid, params[])
{
     new string[50];
     if(sscanf(params, "s[50]", string)) return SendClientMessage(playerid, COLOUR, "error message");
     if(strcmp(string, "place1", true) == 0)
     {
             //code
       }
      else if(strcmp(string, "superduperjump", true) == 0)
      {
             //code
       }
       //continue this
   return 1;
}
untested and not neet made in box
Reply


Messages In This Thread
Help making a /go cmd - by Mikkel - 22.12.2011, 20:02
Re: Help making a /go cmd - by [MG]Dimi - 22.12.2011, 20:03
Re: Help making a /go cmd - by Mikkel - 22.12.2011, 20:09
Re: Help making a /go cmd - by IceCube! - 22.12.2011, 20:19
Re: Help making a /go cmd - by Mikkel - 22.12.2011, 20:35
Re: Help making a /go cmd - by [ABK]Antonio - 22.12.2011, 20:41
Re: Help making a /go cmd - by IceCube! - 22.12.2011, 20:50
Re: Help making a /go cmd - by Mikkel - 22.12.2011, 20:54

Forum Jump:


Users browsing this thread: 1 Guest(s)