07.02.2009, 14:56
Hi i made this websiteviewer in a hurry but it isent working, i cant see it on my server
-> script
aim not very good, just basics scripts 
thx for helping
Bye
-> 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;
}

thx for helping
Bye


