[Pomoc] /unban

Započeo Faxton, Novembar 01, 2011, 22:47:13 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:...
Detaljan opis problema: Znaci kad ja nekog banam komandom unban nemogu ga unbanat tj neradi mi komanda unban pa ako neko da mi moze pomoc bio bi mu zahvalan
Dio skripte:
CitatCMD:unban(playerid,params[])
   {
   new giveplayer[MAX_PLAYER_NAME];
   new sendername[MAX_PLAYER_NAME];
   new idx;
   new string[128];
       if((IsPlayerAdmin(playerid)) || PlayerInfo[playerid][pAdmin] >=3)
       {
         temp = strtok(params, idx);
         if(!strlen(temp))
         {
              SendClientMessage(playerid, COLOR_WHITE, "Koristi: /unban [Ime_Prezime]");
               return 1;
          }
          GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
          GetPlayerName(playerid, sendername, sizeof(giveplayer));
          format(string, 256, "|A| %s je unbanao %s", sendername, temp);
          ABroadCast(COLOR_LIGHTRED,string,1);
          Houses[PlayerInfo[giveplayerid][pPhousekey]][hBanned] = 0;
         SacuvajIgraca(giveplayerid);
         format(string, 256, "|A| %s je unbanao %s", sendername, temp);
         printf(string);
         format(string,sizeof(string),"%s.ini",temp);
            fremove(string);
         SendClientMessage(playerid, COLOR_WHITE, "Igrac odbanan");
         SendRconCommand(string);
         SendRconCommand("reloadbans");
            GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
         GetPlayerName(playerid, sendername, sizeof(sendername));
      }
      return 1;
   }
Neke slike/video za lakse dobivanje pomoci(neobavezno):