[Pomoc] DCMD-ZCMD

23. Feb. 2013. Zaključano
362
pregleda
6
postova
[Black_Dayton]
4
Enforcer
23. Feb. 2013.
Skripta koju koristim: ZCMD-kom
Detaljan opis problema: Ovako kako se moze konvertat ili nekako izmjenuti iz dcmd u zcmd. Molim objasnjenje
Dio skripte: dcmd_ip(playerid,params[])
{
if(AccInfo >= 1)
{
    if(!strlen(params)) return
SendClientMessage(playerid, LIGHTBLUE2, "Usage: /ip ") &&
SendClientMessage(playerid, orange, "Function: Will see Ip of specified player");
new player1 = strval(params);
new string;
if(AccInfo == ServerInfo && AccInfo != ServerInfo)
return SendClientMessage(playerid,red,"ERROR: You cannot use this command on this admin");
        if(IsPlayerConnected(player1) && player1 != INVALID_PLAYER_ID)
{
SendCommandToAdmins(playerid,"Ip");
new tmp3;
GetPlayerIp(player1,tmp3,50);
format(string,sizeof(string),"PlayerName: %s | IP: %s", pName(player1), tmp3);
return SendClientMessage(playerid,yellow,string);
    }
else return ErrorMessages(playerid, 2);
}
else return ErrorMessages(playerid, 1);
}

Znaci treba mi da ih convertam ili kako se to vec "zove" ili radi !
Blaeks_Biofor
5
Forum Don
23. Feb. 2013.
CMD:ip(playerid,params[])
{
  if(AccInfo >= 1)
  {
      if(!strlen(params)) return
      SendClientMessage(playerid, LIGHTBLUE2, "Usage: /ip ") &&
      SendClientMessage(playerid, orange, "Function: Will see Ip of specified player");
      new player1 = strval(params);
      new string;
      if(AccInfo == ServerInfo && AccInfo != ServerInfo)
      return SendClientMessage(playerid,red,"ERROR: You cannot use this command on this admin");
        if(IsPlayerConnected(player1) && player1 != INVALID_PLAYER_ID)
      {
        SendCommandToAdmins(playerid,"Ip");
        new tmp3;
        GetPlayerIp(player1,tmp3,50);
        format(string,sizeof(string),"PlayerName: %s | IP: %s", pName(player1), tmp3);
        return SendClientMessage(playerid,yellow,string);
      }
      else return ErrorMessages(playerid, 2);
  }
  else return ErrorMessages(playerid, 1);
}
[Black_Dayton]
4
Enforcer
23. Feb. 2013.
aaaa tigre mozes mi objasniti kak osi to uradio ?
Blaeks_Biofor
5
Forum Don
23. Feb. 2013.
a skontaj naziv komande kod tebe u kodu i kod mene u kodu i videces
[Black_Dayton]
4
Enforcer
23. Feb. 2013.
Skonda Pukni lock ! i Tnx ti  😄
Blaeks_Biofor
5
Forum Don
23. Feb. 2013.
problem resen, lock

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha