Hello. Csináltam egy login képet de nem tûnt el mikor le spawnoltam magam valaki tud segíteni?
#include <a_samp>
new Text:Textdraw0;
new Text:Textdraw1;
public OnFilterScriptInit()
{
print(\"Textdraw file generated by\");
print(\" Zamaroht\'s textdraw editor was loaded.\");
// Create the textdraws
Textdraw0 = TextDrawCreate(0.000000, 0.000000, \"loadsc8:loadsc8\");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 4);
TextDrawLetterSize(Textdraw0, 0.500000, 1.000000);
TextDrawColor(Textdraw0,-1);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetShadow(Textdraw0, 1);
TextDrawUseBox(Textdraw0, 1);
TextDrawBoxColor(Textdraw0, 255);
TextDrawTextSize(Textdraw0, 641.000000, 448.000000);
Textdraw1 = TextDrawCreate(401.0, 432.0, \"/cmds /rescue /rules /admins\");
TextDrawBackgroundColor(Textdraw1, 0x000000FF);
TextDrawFont(Textdraw1, 0);
TextDrawBoxColor(Textdraw0, 255);
TextDrawLetterSize(Textdraw1, 0.5199, 1.3999);
TextDrawColor(Textdraw0,-1);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetOutline(Textdraw1, 1);
TextDrawSetProportional(Textdraw1, true);
return 1;
}
/* for(new i; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
TextDrawShowForPlayer(i, Textdraw0);
TextDrawShowForPlayer(i, Textdraw1);
}
}
return 1;
}*/
public OnFilterScriptExit()
{
TextDrawHideForAll(Textdraw0);
TextDrawDestroy(Textdraw0);
TextDrawHideForAll(Textdraw1);
TextDrawDestroy(Textdraw1);
return 1;
}
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
return 1;
}