SA-MP Forums Archive
error 010: invalid function or declaration - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: error 010: invalid function or declaration (/showthread.php?tid=523264)



error 010: invalid function or declaration - Vaishnav - 01.07.2014

Hi guys,

My problem is

Код:
F:\Users(48783) : error 010: invalid function or declaration
F:\Users(48783) : error 029: invalid expression, assumed zero
F:\Users(48783) : error 010: invalid function or declaration
F:\Users(48783 -- 48785) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
pawn Код:
stock Info(playerid, info[], TIME = 3000)
{
    if (PlayerInfo[playerid][P_Info] == 1)
    {
        KillTimer(InfoTimer1[playerid] );
        TextDrawSetString(ShowInfo[playerid], info);
        InfoTimer1[playerid] = SetTimerEx("HideInfo", TIME, false, "i", playerid);
        ShowPlayerTextDraw(playerid, ShowInfo[playerid]);
        PlayerPlaySound(playerid, 1085, 0.0,0.0,0.0 );
    }
    return 1;
}
I can't understand how to fix it pls someone Help


Re: error 010: invalid function or declaration - amirab - 01.07.2014

what is it? did you define it? or just a mistake?
PHP код:
ShowPlayerTextDraw 
use this :
PHP код:
TextDrawShowForPlayer 



Re: error 010: invalid function or declaration - Vaishnav - 01.07.2014

sry this was a mistake but I checked that it's still not working :\ pls Help


Re: error 010: invalid function or declaration - Vaishnav - 01.07.2014

Fixed Thanks