Help please
#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
#2

Help fast please!
Reply
#3

bruh, its wrong section
Reply
#4

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


Forum Jump:


Users browsing this thread: 1 Guest(s)