cmdtext, playerid
#3

pawn Код:
if(!strcmp(cmdtext,"/ggg",true))
{
  new cmd[128];
  cmd=strtok(cmdtext,idx);
  if(!strlen(cmd)) return SendClientMessage(playerid,color,"USAGE: /ggg [number]");
  SetPlayerSpecialAction(playerid,strval(cmd));
  return 1;
}
Should work.
Reply


Messages In This Thread
cmdtext, playerid - by user226 - 25.05.2009, 11:53
Re: cmdtext, playerid - by Correlli - 25.05.2009, 11:55
Re: cmdtext, playerid - by MenaceX^ - 25.05.2009, 13:53
Re: cmdtext, playerid - by Weirdosport - 25.05.2009, 13:56
Re: cmdtext, playerid - by member - 25.05.2009, 13:58
Re: cmdtext, playerid - by Weirdosport - 25.05.2009, 13:59
Re: cmdtext, playerid - by MenaceX^ - 25.05.2009, 14:48
Re: cmdtext, playerid - by user226 - 25.05.2009, 15:25
Re: cmdtext, playerid - by Think - 25.05.2009, 15:32
Re: cmdtext, playerid - by member - 25.05.2009, 15:34

Forum Jump:


Users browsing this thread: 1 Guest(s)