SA-MP Forums Archive
No textdraw display - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: No textdraw display (/showthread.php?tid=92690)



No textdraw display - Zafire1410 - 21.08.2009

i use this fs in my server but the textdraw its invisible :S dont exist i need help

Code

Quote:

#include<a_samp>

new Text:Textdraw0;

public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Texto Need For Speed by Zafire");
print("--------------------------------------\n");
Textdraw0 = TextDrawCreate(500.000000,6.000000,"NEED FOR SPEED");
TextDrawAlignment(Textdraw0,0);
TextDrawBackgroundColor(Textdraw0,0x000000ff);
TextDrawFont(Textdraw0,2);
TextDrawLetterSize(Textdraw0,0.299999,1.600000);
TextDrawColor(Textdraw0,0x00ff00ff);
TextDrawSetOutline(Textdraw0,1);
TextDrawSetProportional(Textdraw0,1);
TextDrawSetShadow(Textdraw0,1);
return 1;
}

public OnPlayerSpawn(playerid)
{
TextDrawShowForPlayer(playerid, Text:Textdraw0);
return 1;
}

public OnFilterScriptExit()
{
return 1;
}

Thx for help


Re: No textdraw display - FUNExtreme - 21.08.2009

Load the script


Re: No textdraw display - abhinavdabral - 21.08.2009

here is the problem ... Correct it
pawn Код:
TextDrawShowForPlayer(playerid, Textdraw0); // Corrected



Re: No textdraw display - Zafire1410 - 21.08.2009

Quote:
Originally Posted by ۞●•λвнiиаv•●۞
here is the problem ... Correct it
pawn Код:
TextDrawShowForPlayer(playerid, Textdraw0); // Corrected
i fix that, but i cant see it :S i am using your drift counter! you think its a problemn there in the textdraws?


Re: No textdraw display - Zafire1410 - 22.08.2009

I need help! i cant see the text


Re: No textdraw display - abhinavdabral - 22.08.2009

Your code seems OK ... Idk what the problem is ..... Can you POST the whole script out here ....


Re: No textdraw display - Zafire1410 - 22.08.2009

Quote:
Originally Posted by ۞●•λвнiиаv•●۞
Your code seems OK ... Idk what the problem is ..... Can you POST the whole script out here ....
Thx man i think the problem was of a speedometer lux speedo i disable the speedometer and i insert the textdraw into gamemode and works!! thx bro!