A small help plzzz - 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: A small help plzzz (
/showthread.php?tid=297267)
A small help plzzz -
hitman% - 15.11.2011
hey guyzz....
When i put this Textdraw code:
Код:
//-------------------logo-------------------------------------------------------
// TextDraw developed using Zamaroht's Textdraw Editor 1.0
// On top of script:
new Text:Textdraw0;
// In OnGameModeInit prefferably, we procced to create our textdraws:
Textdraw0 = TextDrawCreate(466.000000, 315.000000, "Crazy Generations");
TextDrawBackgroundColor(Textdraw0, -1);
TextDrawFont(Textdraw0, 0);
TextDrawLetterSize(Textdraw0, 0.709999, 3.099998);
TextDrawColor(Textdraw0, -16776961);
TextDrawSetOutline(Textdraw0, 1);
TextDrawSetProportional(Textdraw0, 1);
TextDrawShowForPlayer(ForAll);
// You can now use TextDrawShowForPlayer(-ForAll), TextDrawHideForPlayer(-ForAll) and
// TextDrawDestroy functions to show, hide, and destroy the textdraw.
It is showing this error .. can u pls help me to fix this
Код:
E:\satdm script\test\Gamemodes\SATDM~RP13.pwn(3084) : error 017: undefined symbol "ForAll"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Re: A small help plzzz -
-Rebel Son- - 15.11.2011
Код:
TextDrawShowForAll(Textdraw0);
Re: A small help plzzz -
Ironboy - 15.11.2011
Try this
pawn Код:
//-------------------logo-------------------------------------------------------
// TextDraw developed using Zamaroht's Textdraw Editor 1.0
// On top of script:
new Text:Textdraw0;
// In OnGameModeInit prefferably, we procced to create our textdraws:
Textdraw0 = TextDrawCreate(466.000000, 315.000000, "Crazy Generations");
TextDrawBackgroundColor(Textdraw0, -1);
TextDrawFont(Textdraw0, 0);
TextDrawLetterSize(Textdraw0, 0.709999, 3.099998);
TextDrawColor(Textdraw0, -16776961);
TextDrawSetOutline(Textdraw0, 1);
TextDrawSetProportional(Textdraw0, 1);
TextDrawShowForAll(Textdraw0);
Re: A small help plzzz -
Calgon - 15.11.2011
ForAll is not a function, the comments are instructing you to append 'ForAll' to the function name and remove 'Player'.
https://sampwiki.blast.hk/wiki/TextDrawHideForAll
https://sampwiki.blast.hk/wiki/TextDrawShowForAll
EDIT: Wasn't expecting that many replies in ~1min.
Re: A small help plzzz -
hitman% - 15.11.2011
ty fixed thnx guyz +rep
Re: A small help plzzz -
hitman% - 15.11.2011
guyz... but the textdraw is nt loading...!