[Pedido] Tutorial sscanf
#6

Eu fiz esse simples comando de teste :

Code:
CMD:id(playerid, params[])
  {
  new id[5];
  if(sscanf(params, "d", id)) return SendClientMessage(playerid, -1, "{4DA9D6}Uso /id [ID]");
  new string[54];
  format(string, sizeof(string), "{4DA9D6} Playerid : %d", id);
  SendClientMessage(playerid, -1, string);
  return 1;
  }
Tб no fim do GM, fora de qualquer public .

Na hora que vai executar dб esse erro :

Code:
[12:47:46] Script[gamemodes/tuga_test_server_v1.0.amx]: Run time error 19: "File or function is not found"
Esse erro deve-se a uma das includes "nгo servir para nada" , e estar defenida no GM .

Quando eu tiro a include sscanf e tiro o comando que postei , ele funciona normalmente .

Qual pode ser o erro ?
Reply


Messages In This Thread
Tutorial sscanf - by Tugamars - 14.12.2013, 11:15
Re: Tutorial sscanf - by SkullFire - 14.12.2013, 11:18
Re: Tutorial sscanf - by PT - 14.12.2013, 11:31
Re: Tutorial sscanf - by Tugamars - 14.12.2013, 11:42
Re: Tutorial sscanf - by SkullFire - 14.12.2013, 11:46
Re: Tutorial sscanf - by Tugamars - 14.12.2013, 11:51
Re: Tutorial sscanf - by SkullFire - 14.12.2013, 11:52
Re: Tutorial sscanf - by Tugamars - 14.12.2013, 11:55
Re: Tutorial sscanf - by SkullFire - 14.12.2013, 11:57

Forum Jump:


Users browsing this thread: 2 Guest(s)