HELP ! Please
#1

Help Me ..
i do this textdraw with Zamaroht's TextDraw Editor Version 1.0
I do this at OnPlayerRequestClass
But Textdraw11 Doesn't Show At Class Textdraw11 Show At When player at Vehicle Why ? Please Help me
CODE HERE :
Код:
/*
#include <a_samp>

new Text:Textdraw9;
new Text:Textdraw10;
new Text:Textdraw11;

public OnFilterScriptInit()
{
	print("Textdraw file generated by");
	print("    Zamaroht's textdraw editor was loaded.");

	// Create the textdraws:
	Textdraw9 = TextDrawCreate(701.000000, 2.000000, "U");
	TextDrawAlignment(Textdraw9, 3);
	TextDrawBackgroundColor(Textdraw9, 255);
	TextDrawFont(Textdraw9, 0);
	TextDrawLetterSize(Textdraw9, 0.569998, 1.899999);
	TextDrawColor(Textdraw9, -1);
	TextDrawSetOutline(Textdraw9, 0);
	TextDrawSetProportional(Textdraw9, 1);
	TextDrawSetShadow(Textdraw9, 1000);
	TextDrawUseBox(Textdraw9, 1);
	TextDrawBoxColor(Textdraw9, 255);
	TextDrawTextSize(Textdraw9, 9.000000, 17.000000);

	Textdraw10 = TextDrawCreate(675.000000, 426.000000, "D");
	TextDrawAlignment(Textdraw10, 3);
	TextDrawBackgroundColor(Textdraw10, 255);
	TextDrawFont(Textdraw10, 1);
	TextDrawLetterSize(Textdraw10, 0.500000, 2.299998);
	TextDrawColor(Textdraw10, -1);
	TextDrawSetOutline(Textdraw10, 0);
	TextDrawSetProportional(Textdraw10, 1);
	TextDrawSetShadow(Textdraw10, 1);
	TextDrawUseBox(Textdraw10, 1);
	TextDrawBoxColor(Textdraw10, 255);
	TextDrawTextSize(Textdraw10, 0.000000, 0.000000);

	Textdraw11 = TextDrawCreate(27.000000, 25.000000, "]");
	TextDrawAlignment(Textdraw11, 3);
	TextDrawBackgroundColor(Textdraw11, 255);
	TextDrawFont(Textdraw11, 1);
	TextDrawLetterSize(Textdraw11, 0.000000, 44.299896);
	TextDrawColor(Textdraw11, 255);
	TextDrawSetOutline(Textdraw11, 0);
	TextDrawSetProportional(Textdraw11, 0);
	TextDrawSetShadow(Textdraw11, 1);
	TextDrawUseBox(Textdraw11, 1);
	TextDrawBoxColor(Textdraw11, 255);
	TextDrawTextSize(Textdraw11, 8.000000, 16.000000);

	return 1;
}

public OnFilterScriptExit()
{
	TextDrawHideForAll(Textdraw9);
	TextDrawDestroy(Textdraw9);
	TextDrawHideForAll(Textdraw10);
	TextDrawDestroy(Textdraw10);
	TextDrawHideForAll(Textdraw11);
	TextDrawDestroy(Textdraw11);
	return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
	TextDrawShowForPlayer(playerid, Textdraw9);
	TextDrawShowForPlayer(playerid, Textdraw10);
	TextDrawShowForPlayer(playerid, Textdraw11);
	return 1;
}

public OnPlayerSpawn(playerid)
{
	TextDrawHideForPlayer(playerid, Textdraw9);
	TextDrawHideForPlayer(playerid, Textdraw10);
	TextDrawHideForPlayer(playerid, Textdraw11);
	return 1;
}
please help !
Reply
#2

Quote:
Originally Posted by [Dk]RoCk
Посмотреть сообщение
Help Me ..
i do this textdraw with Zamaroht's TextDraw Editor Version 1.0
I do this at OnPlayerRequestClass
But Textdraw11 Doesn't Show At Class Textdraw11 Show At When player at Vehicle Why ? Please Help me
CODE HERE :
Код:
/*
#include <a_samp>

new Text:Textdraw9;
new Text:Textdraw10;
new Text:Textdraw11;

public OnFilterScriptInit()
{
	print("Textdraw file generated by");
	print("    Zamaroht's textdraw editor was loaded.");

	// Create the textdraws:
	Textdraw9 = TextDrawCreate(701.000000, 2.000000, "U");
	TextDrawAlignment(Textdraw9, 3);
	TextDrawBackgroundColor(Textdraw9, 255);
	TextDrawFont(Textdraw9, 0);
	TextDrawLetterSize(Textdraw9, 0.569998, 1.899999);
	TextDrawColor(Textdraw9, -1);
	TextDrawSetOutline(Textdraw9, 0);
	TextDrawSetProportional(Textdraw9, 1);
	TextDrawSetShadow(Textdraw9, 1000);
	TextDrawUseBox(Textdraw9, 1);
	TextDrawBoxColor(Textdraw9, 255);
	TextDrawTextSize(Textdraw9, 9.000000, 17.000000);

	Textdraw10 = TextDrawCreate(675.000000, 426.000000, "D");
	TextDrawAlignment(Textdraw10, 3);
	TextDrawBackgroundColor(Textdraw10, 255);
	TextDrawFont(Textdraw10, 1);
	TextDrawLetterSize(Textdraw10, 0.500000, 2.299998);
	TextDrawColor(Textdraw10, -1);
	TextDrawSetOutline(Textdraw10, 0);
	TextDrawSetProportional(Textdraw10, 1);
	TextDrawSetShadow(Textdraw10, 1);
	TextDrawUseBox(Textdraw10, 1);
	TextDrawBoxColor(Textdraw10, 255);
	TextDrawTextSize(Textdraw10, 0.000000, 0.000000);

	Textdraw11 = TextDrawCreate(27.000000, 25.000000, "]");
	TextDrawAlignment(Textdraw11, 3);
	TextDrawBackgroundColor(Textdraw11, 255);
	TextDrawFont(Textdraw11, 1);
	TextDrawLetterSize(Textdraw11, 0.000000, 44.299896);
	TextDrawColor(Textdraw11, 255);
	TextDrawSetOutline(Textdraw11, 0);
	TextDrawSetProportional(Textdraw11, 0);
	TextDrawSetShadow(Textdraw11, 1);
	TextDrawUseBox(Textdraw11, 1);
	TextDrawBoxColor(Textdraw11, 255);
	TextDrawTextSize(Textdraw11, 8.000000, 16.000000);

	return 1;
}

public OnFilterScriptExit()
{
	TextDrawHideForAll(Textdraw9);
	TextDrawDestroy(Textdraw9);
	TextDrawHideForAll(Textdraw10);
	TextDrawDestroy(Textdraw10);
	TextDrawHideForAll(Textdraw11);
	TextDrawDestroy(Textdraw11);
	return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
	TextDrawShowForPlayer(playerid, Textdraw9);
	TextDrawShowForPlayer(playerid, Textdraw10);
	TextDrawShowForPlayer(playerid, Textdraw11);
	return 1;
}

public OnPlayerSpawn(playerid)
{
	TextDrawHideForPlayer(playerid, Textdraw9);
	TextDrawHideForPlayer(playerid, Textdraw10);
	TextDrawHideForPlayer(playerid, Textdraw11);
	return 1;
}
please help !
Why are you having "/*" in the beginning of your script? remove that and try again..
Reply
#3

No ! By Mistake i added it On Forum But I Not Added Thix FS
Reply
#4

Quote:
Originally Posted by [Dk]RoCk
Посмотреть сообщение
No ! By Mistake i added it On Forum But I Not Added Thix FS
Well, the code i guess looks ok. Your three textdraw's 9, 10 and 11 will show on OnPlayerRequestClass but will hide when a player spawns. I think you must check if something is conflicting with these textdraws, check your gamemode ?

-FalconX
Reply
#5

Can i Give You ? Can Yu See It Plss ?
Reply
#6

AnyOne HELP Pleassee
Reply
#7

Give the GM.
Reply
#8

Quote:
Originally Posted by Faisal_khan
Посмотреть сообщение
Give the GM.
http://www.mediafire.com/?8j9w7zv973383cm
Ty In AdwanCe
Reply
#9

replace this

Код:
new Text:Textdraw9;
new Text:Textdraw10;
new Text:Textdraw11;
With This
Код:
new Textdraw9;
new Textdraw10;
new Textdraw11;
Reply
#10

nOt Working Any One Else >?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)