websitevieuwer wont work...
#1

Hi i made this websiteviewer in a hurry but it isent working, i cant see it on my server

-> script
Код:
#include <a_samp>
new Text:Textdraw1;
new Text:Textdraw0;
#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print(" DarkplayeRs Websiteviewer");
	print("--------------------------------------\n");
	return 1;
}

public OnFilterScriptExit()
{
	return 1;
}

#endif

public OnPlayerConnect(playerid)
{
	TextDrawShowForPlayer(playerid, Textdraw0);
	TextDrawShowForPlayer(playerid, Textdraw1);
	return 1;
}

public OnGameModeInit()
{
	//Site textdraw
	Textdraw1 = TextDrawCreate(1.000000,433.000000,"http://darkplayers-host.tk/");
	TextDrawAlignment(Textdraw1,0);
	TextDrawBackgroundColor(Textdraw1,0x000000ff);
	TextDrawFont(Textdraw1,2);
	TextDrawLetterSize(Textdraw1,0.499999,1.100000);
	TextDrawColor(Textdraw1,0xffffffff);
	TextDrawSetOutline(Textdraw1,1);
	TextDrawSetProportional(Textdraw1,1);
	TextDrawSetShadow(Textdraw1,1);
	//Textdraw above map
	Textdraw0 = TextDrawCreate(542.000000,54.000000,"[NL] DarkplayeR's Host [NL]");
	TextDrawAlignment(Textdraw0,0);
	TextDrawBackgroundColor(Textdraw0,0x000000ff);
	TextDrawFont(Textdraw0,3);
	TextDrawLetterSize(Textdraw0,0.299999,1.100000);
	TextDrawColor(Textdraw0,0xffffffff);
	TextDrawSetOutline(Textdraw0,1);
	TextDrawSetProportional(Textdraw0,1);
	TextDrawSetShadow(Textdraw0,4);
	return 1;
}

public OnGameModeExit()
{
	return 1;
}
aim not very good, just basics scripts

thx for helping

Bye
Reply
#2

https://sampwiki.blast.hk/wiki/TextDrawShowForPlayer
Reply
#3

no :P

I want all players to see my text continuous

not one player

but new Text:Textdraw1;

is that wrong than ?
Reply
#4

https://sampwiki.blast.hk/wiki/TextDrawShowForAll
Reply
#5

whats

new Text:Textdraw1;
new Text:Textdraw0;

than for ??

is that not for all players?
Reply
#6

it will show for all players
Reply
#7

ok,

thats already in my script

but why cant i see it in my server?

my script wrong or ?

and yes i suck at scripting :P haha


Reply
#8

help ?

can anyone check my fs
Reply
#9

https://sampwiki.blast.hk/wiki/TextDrawShowForAll
Reply
#10

Quote:
Originally Posted by SpiderPork
OMG... just give me an answer not a link!!! ...

just say what i dit wrong an hou i fix it!

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)