SA-MP Forums Archive
Help please - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Help please (/showthread.php?tid=554683)



Help please - aCloudy - 04.01.2015

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;
}



Re: Help please - aCloudy - 04.01.2015

Help fast please!


Re: Help please - Rabea - 04.01.2015

bruh, its wrong section


Re: Help please - aCloudy - 04.01.2015

Quote:
Originally Posted by Rabea
Посмотреть сообщение
bruh, its wrong section
Where to post ?