/getall command help
#1

Hello.
I scripted this command "/getall" to bring all the players to me, But when i use it, It only counts, It doesn't bring them to me, Can someone fix it and post it fixed here ?


Код:
dcmd_getall(playerid, params[])
{
    if(AdminLevel[playerid] < 4)return SendClientMessage(playerid,-1,"{AFAFAF}[Error]:{FFFFFF} You do not have the right admin level to use this command.");
 new string[128], time;

    if(sscanf(params,"d",time))
 {
  SendClientMessage(playerid, -1, ""COL_USAGE"[SYNTAX]{FFFFFF} /getall [TIME]");
  return 1;
 }
 KillTimer(CountDownTimer);
 GetAllHere(playerid);
  CountDownVar = time + 1;
    CountDownTimer = SetTimer("CountDown", 1000, true);
 format(string,sizeof(string),"%s(%d) has used /getall", PlayerName(playerid),playerid);
 SendALogMessage(string);
 return 1;
}
Reply


Messages In This Thread
/getall command help - by aCloudy - 04.01.2015, 20:27
Re: /getall command help - by dominik523 - 04.01.2015, 20:29
Re: /getall command help - by aCloudy - 04.01.2015, 20:32
Re: /getall command help - by aCloudy - 04.01.2015, 21:25
Re: /getall command help - by dominik523 - 04.01.2015, 21:27
Re: /getall command help - by aCloudy - 04.01.2015, 21:27

Forum Jump:


Users browsing this thread: 1 Guest(s)