Error 017: undefined symbol "sscanf", Whatґs wrong?
#1

Hey Guys,
I got a small problem i should post the code first:

Code:
[...]
#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
[...]

public OnPlayerCommandText(playerid, cmdtext[])
{
  dcmd(playsound, 9, cmdtext);
  return 0;
  [...]
}

[...]

dcmd_playsound(playerid, params[])
{
	new value;
	if (sscanf(params, "i", value)) SendClientMessage(playerid, 0xFF0000AA, "Usage: \"/playsound <Sound Id>\"");
    else
	{
		PlayerPlaySound(playerid, value,0.0,0.0,0.0);
		SendClientMessage(playerid, 0x00FF00AA, "Playing Sound...");
	}
	return 1;
}

[...]
ERROR MSG: error 017: undefined symbol "sscanf"

Now my Question what is wrong?

[...] means not important

Best regards,
Seoson
Reply


Messages In This Thread
Error 017: undefined symbol "sscanf", Whatґs wrong? - by Seoson - 04.03.2009, 17:01
Re: Error 017: undefined symbol "sscanf", Whatґs wrong? - by Seoson - 04.03.2009, 20:31
Re: Error 017: undefined symbol "sscanf", Whatґs wrong? - by pspleo - 04.03.2009, 20:32
Re: Error 017: undefined symbol "sscanf", Whatґs wrong? - by Seoson - 05.03.2009, 09:25

Forum Jump:


Users browsing this thread: 1 Guest(s)