24.04.2014, 17:31
(
Последний раз редактировалось UserNamed; 14.12.2014 в 00:23.
)
Editado
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#include <a_samp>
#if defined FILTERSCRIPT
new Text:ImagemEntrada;
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
ImagemEntrada = TextDrawCreate(1.000000, -1.000000, "loadsc2:loadsc2");
TextDrawBackgroundColor(ImagemEntrada, 255);
TextDrawFont(ImagemEntrada, 4);
TextDrawLetterSize(ImagemEntrada, 0.500000, 1.000000);
TextDrawColor(ImagemEntrada, -1);
TextDrawSetOutline(ImagemEntrada, 0);
TextDrawSetProportional(ImagemEntrada, 1);
TextDrawSetShadow(ImagemEntrada, 1);
TextDrawUseBox(ImagemEntrada, 1);
TextDrawBoxColor(ImagemEntrada, 255);
TextDrawTextSize(ImagemEntrada, 645.000000, 450.000000);
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, ImagemEntrada);
return 1;
}
public OnPlayerRequestClass(playerid)
{
TextDrawShowForPlayer(playerid, ImagemEntrada);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
return 1;
}
public OnPlayerSpawn(playerid)
{
TextDrawHideForPlayer(playerid, ImagemEntrada);
return 1;
}
#endif