Jump to content
  • 0

Problema :(


NEoNX

Question

[pawn]D:\Stuntage Gold Galaxy\0.3x\0.3x\filterscripts\ladmin4v2.pwn(8464) : warning 213: tag mismatch

D:\Stuntage Gold Galaxy\0.3x\0.3x\filterscripts\ladmin4v2.pwn(8465) : error 035: argument type mismatch (argument 2)

D:\Stuntage Gold Galaxy\0.3x\0.3x\filterscripts\ladmin4v2.pwn(8465) : error 039: constant symbol has no size

D:\Stuntage Gold Galaxy\0.3x\0.3x\filterscripts\ladmin4v2.pwn(8530) : error 035: argument type mismatch (argument 2)

D:\Stuntage Gold Galaxy\0.3x\0.3x\filterscripts\ladmin4v2.pwn(8533) : warning 213: tag mismatch

D:\Stuntage Gold Galaxy\0.3x\0.3x\filterscripts\ladmin4v2.pwn(8540) : error 035: argument type mismatch (argument 2)

D:\Stuntage Gold Galaxy\0.3x\0.3x\filterscripts\ladmin4v2.pwn(8542) : warning 213: tag mismatch

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

4 Errors.[/pawn]

[pawn]COMMAND:honline(playerid,params[])

{

  new string[256];

  format(string,sizeof(string),"( ! ) Hoster %s este acum online !",Hoster);

  GetPlayerName(playerid, Hoster, sizeof(Hoster));

  SendClientMessageToAll(VERDE,string);

  if(PlayerInfo[playerid][Hoster] <1) return SCM(playerid,VERDE,"( ! ) Nu esti Hoster");

  return 1;

}

COMMAND:hgod(playerid,params[])

{

  if(PlayerInfo[playerid][Hoster] == 0) return SCM(playerid,VERDE,"( ! ) Nu esti Hoster");

  if(dGod[playerid] == 0)

  {

  SetPlayerHealth(playerid,9999999);

  dGod[playerid] =1;

  SCM(playerid,GALBEN,"( ! ) God Mode On");

  }

  if(dGod[playerid] == 1)

  {

  SetPlayerHealth(playerid, 100);

  dGod[playerid] =0;

  SCM(playerid,GALBEN,"( ! ) God Mode Off");

  }

  return 1;

}

COMMAND:hweaps(playerid,params[])

{

  if(PlayerInfo[playerid][Hoster] == 0) return SCM(playerid,VERDE,"( ! ) Nu esti Hoster");

  if(GetPlayerMoney(playerid) >= 200) {

  GivePlayerWeapon(playerid,29,300);

  GivePlayerWeapon(playerid,31,212);

  GivePlayerMoney(playerid, -200);

  return 1;

  } else return SCM(playerid,VERDE,"( ! ) Nu ai bani! Ai nevoie de 200");

}

COMMAND:harmour(playerid,params[])

{

  if(PlayerInfo[playerid][Hoster] == 0) return SCM(playerid,VERDE,"( ! ) Nu esti Hoster");

  SetPlayerArmour(playerid,100);

  SCM(playerid,VERDE,"( ! ) Ti-ai incarcat armura");

  return 1;

}

COMMAND:hminigun(playerid,params[])

{

  if(PlayerInfo[playerid][Hoster] == 0) return SCM(playerid,VERDE,"( ! ) Nu esti Hoster");

  if(GetPlayerScore(playerid) >= 20) {

    if(GetPlayerMoney(playerid) >= 1000) {

GivePlayerMoney(playerid, -1000);

GivePlayerWeapon(playerid, 38 , 250);

SCM(playerid,VERDE,"( ! ) Acum ai un minigun");

SCM(playerid,ROSU,"( ! ) Nu profita de aceasta arma!");

return 1;

} else return SCM(playerid,VERDE,"( ! ) Nu ai destui bani!");

  } else return SCM(playerid,VERDE,"( ! ) Nu ai destul scor");

}

COMMAND:hjet(playerid,params[])

{

  if(PlayerInfo[playerid][Hoster] == 0) return SCM(playerid,VERDE,"( ! ) Nu esti Hoster");

  SetPlayerSpecialAction(playerid, 2);

  SCM(playerid,VERDE,"( ! ) Jet Pack spawnat! ");

  return 1;

}

COMMAND:hkick(playerid,params[])

{

  new id;

  new target[24];

  new string[256];

  GetPlayerName(id,target,24);

  GetPlayerName(playerid,Hoster,24);

  if(PlayerInfo[playerid][Hoster] == 0) return SCM(playerid,VERDE,"( ! ) Nu esti Hoster");

  if(sscanf(params,"u",id)) return SendClientMessage(playerid,GALBEN,"Foloseste :/dkick [playerid]");

  format(string,sizeof(string),"( ! ) %s a fost dat afara de Hosterul %s !",target,Hoster);

  SendClientMessageToAll(VERDE,string);

  return 1;

}

COMMAND:hbye(playerid,params[])

{

  new string[256];

  GetPlayerName(playerid,Hoster,24);

  if(PlayerInfo[playerid][Hoster] <1) return SCM(playerid,VERDE,"( ! ) Nu esti Hoster");

  format(string,sizeof(string),"( ! ) Hosterul %s v-a iesi de pe server! La revedere !",Hoster);[/pawn]

Linia 8464 :

[pawn]format(string,sizeof(string),"( ! ) Hoster %s este acum online !",Hoster);[/pawn]

Linia 8465:

[pawn]GetPlayerName(playerid, Hoster, sizeof(Hoster));[/pawn]

Linia 8530:

[pawn]GetPlayerName(playerid,Hoster,24);[/pawn]

Linia 8533:

[pawn]format(string,sizeof(string),"( ! ) %s a fost dat afara de Hosterul %s !",target,Hoster);[/pawn]

Linia 8540:

[pawn]GetPlayerName(playerid,Hoster,24);[/pawn]

Linia 8542:

[pawn]format(string,sizeof(string),"( ! ) Hosterul %s v-a iesi de pe server! La revedere !",Hoster);[/pawn]

Ma puteti ajuta?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.