[Help] What is this error all about?!
#1

Код:
error 010: invalid function or declaration

public OnPlayerCommandText(playerid, cmdtext[])
{
dcmd(bcast, 5, cmdtext);
return 0;
}

dcmd_bcast(playerid, params[])
{
new text[40],
time,
font,
style;
if (sscanf(params, "siii", text, time, font, style))
return SendClientMessage(playerid, 0xFF0000AA, "Usage: \"/bcast <text> <time> <font> <style>\""), 1;
else
{
DisplayTextForAll(text[30], time, font, style);
return 1;
}
}
return 0; <-------- Problem Is here!
}
Reply


Messages In This Thread
[Help] What is this error all about?! - by Ace_Menace - 30.06.2009, 10:04
Re: [Help] What is this error all about?! - by Grim_ - 30.06.2009, 10:09
Re: [Help] What is this error all about?! - by Ignas1337 - 30.06.2009, 10:22
Re: [Help] What is this error all about?! - by Grim_ - 30.06.2009, 10:25

Forum Jump:


Users browsing this thread: 2 Guest(s)