Help problem with TextDraws
#1

Hello, i make FS but i have problem look :
Errors:
Код:
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(25) : error 017: undefined symbol "TextdrawCreate"
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(25) : warning 213: tag mismatch
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(26) : error 017: undefined symbol "TextdrawLetterSize"
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(27) : error 017: undefined symbol "TextdrawTextSize"
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(28) : error 017: undefined symbol "TextdrawAlignment"
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(29) : error 017: undefined symbol "TextdrawColor"
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(30) : error 017: undefined symbol "TextdrawUseBox"
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(31) : error 017: undefined symbol "TextdrawBoxColor"
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(32) : error 017: undefined symbol "TextdrawSetShadow"
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(33) : error 017: undefined symbol "TextdrawSetOutline"
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(34) : error 017: undefined symbol "TextdrawFont"
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(36) : error 017: undefined symbol "TextdrawCreate"
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(36) : warning 213: tag mismatch
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(37) : error 017: undefined symbol "TextdrawLetterSize"
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(38) : error 017: undefined symbol "TextdrawTextSize"
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(39) : error 017: undefined symbol "TextdrawAlignment"
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(40) : error 017: undefined symbol "TextdrawColor"
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(41) : error 017: undefined symbol "TextdrawSetShadow"
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(42) : error 017: undefined symbol "TextdrawSetOutline"
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(43) : error 017: undefined symbol "TextdrawFont"
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(45) : error 017: undefined symbol "TextdrawCreate"
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(45) : warning 213: tag mismatch
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(46) : error 017: undefined symbol "TextdrawLetterSize"
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(47) : error 017: undefined symbol "TextdrawAlignment"
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(48) : error 017: undefined symbol "TextdrawColor"
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(49) : error 017: undefined symbol "TextdrawSetShadow"
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(50) : error 017: undefined symbol "TextdrawSetOutline"
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(51) : error 017: undefined symbol "TextdrawBackgroundColor"
E:\SVEEEEE\Svi folderi\ColosseumDM\filterscripts\umam.pwn(52) : error 017: undefined symbol "TextdrawFont"

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


26 Errors.
But look my FS :
Код:
//------------------------------------------------------------------------------
//------------------------ Uhvati me ako mozes ---------------------------------
//---------------------------- by:Mikki ----------------------------------------
//------------------------------------------------------------------------------
#include <a_samp>
#pragma tabsize 0
//============================================================================== DefTD-ova
	new Text: podloga0;
	new Text: podloga1;
	new Text: podloga2;
 	new Text: podloga3;
 	new Text: podloga4;
 	new Text: podloga5;

#define FILTERSCRIPT
#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print("'Uhvati me ako mozes', SAMP Game by:Mikki");
	print("Ucitano!");
	print("--------------------------------------\n");
	//-------------------------------------------------------------------------- Podloga
	podloga0 = TextdrawCreate(457.058837, 58.083332, "usebox");
	TextdrawLetterSize(podloga0, 0.000000, 35.720371);
	TextdrawTextSize(podloga0, 192.823532, 0.000000);
	TextdrawAlignment(podloga0, 1);
	TextdrawColor(podloga0, 0);
	TextdrawUseBox(podloga0, true);
	TextdrawBoxColor(podloga0, 102);
	TextdrawSetShadow(podloga0, 0);
	TextdrawSetOutline(podloga0, 0);
	TextdrawFont(podloga0, 0);

	podloga1 = TextdrawCreate(194.352935, 54.833335, "LD_SPAC:white");
	TextdrawLetterSize(podloga1, 0.000000, 0.000000);
	TextdrawTextSize(podloga1, 261.176483, 18.083335);
	TextdrawAlignment(podloga1, 1);
	TextdrawColor(podloga1, -5963521);
	TextdrawSetShadow(podloga1, 0);
	TextdrawSetOutline(podloga1, 0);
	TextdrawFont(podloga1, 4);

	podloga2 = TextdrawCreate(196.706085, 56.583354, "Uhvati me ako mozes...");
	TextdrawLetterSize(podloga2, 0.449999, 1.600000);
	TextdrawAlignment(podloga2, 1);
	TextdrawColor(podloga2, -65281);
	TextdrawSetShadow(podloga2, 0);
	TextdrawSetOutline(podloga2, 1);
	TextdrawBackgroundColor(podloga2, 255);
	TextdrawFont(podloga2, 3);
	TextdrawSetProportional(podloga2, 1);

	podloga3 = TextdrawCreate(432.470458, 59.500000, "v1.0");
	TextdrawLetterSize(podloga3, 0.215176, 0.870832);
	TextdrawAlignment(podloga3, 1);
	TextdrawColor(podloga3, -1);
	TextdrawSetShadow(podloga3, 0);
	TextdrawSetOutline(podloga3, 1);
	TextdrawBackgroundColor(podloga3, 51);
	TextdrawFont(podloga3, 3);
	TextdrawSetProportional(podloga3, 1);

	podloga4 = TextdrawCreate(446.235290, 91.333328, "usebox");
	TextdrawLetterSize(podloga4, 0.000000, 30.600000);
	TextdrawTextSize(podloga4, 202.705886, 0.000000);
	TextdrawAlignment(podloga4, 1);
	TextdrawColor(podloga4, 0);
	TextdrawUseBox(podloga4, true);
	TextdrawBoxColor(podloga4, 102);
	TextdrawSetShadow(podloga4, 0);
	TextdrawSetOutline(podloga4, 0);
	TextdrawFont(podloga4, 0);

	podloga5 = TextdrawCreate(218.352951, 382.083312, "LD_SPAC:white");
	TextdrawLetterSize(podloga5, 0.000000, 0.000000);
	TextdrawTextSize(podloga5, 217.882339, 22.750000);
	TextdrawAlignment(podloga5, 1);
	TextdrawColor(podloga5, 8388863);
	TextdrawSetShadow(podloga5, 0);
	TextdrawSetOutline(podloga5, 0);
	TextdrawFont(podloga5, 4);
	return 1;
}

public OnFilterScriptExit()
{
	return 1;
}

#else

main()
{
	print("\n----------------------------------");
	print("'Uhvati me ako mozes', SAMP Game by:Mikki");
	print("Nije ucitano!");
	print("----------------------------------\n");
}

#endif

//============================================================================== FS
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/uhvatimeakomozes", true))
    {
        TextDrawShowForPlayer(playerid,podloga1[playerid]);
	return 1;
	}
return 0;
}
*Note: #include i think work .
Reply
#2

just wrong on this

Код:
TextdrawCreate
the "D" Word must be capital

Код:
TextDrawCreate
you must change all Textdraw text to TextDraw (with D capital)
Reply
#3

Ahahahhaha, omg.
Thank you. AHAHHAHAH OMG!
AHAH
Reply
#4

lol...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)