Hi ich hab ein Textdraw erstellt aber der wird im Spiel nicht gezeigt hier die linien.
#include <a_samp>
#include <a_npc>
#include <core>
#include <float>
#include "../include/a_players.inc"
#include "../include/gl_common.inc"
#define COLOR_WHITE 0xFFFFFFFF
#define COLOR_GREEN 0x33AA33AA
#define COLOR_HEAL 0xFFFF22AA
new Text:Textdraw0;
new Text:Textdraw1;
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp("/heal",cmdtext,true)==0)
{
SetPlayerHealth(playerid,100);
SetPlayerArmour(playerid,100);
SendClientMessage(playerid, COLOR_HEAL,"Healen in Der DM Zone ist NICHT erlaubt !");
GivePlayerMoney(playerid,-5000);
return 1;
}
return 0;
}
public OnFilterscriptInIt(playerid)
{
Textdraw0 = TextDrawCreate(11.000000,300.000000,">>> Owner [DG]GamerX <<<");
TextDrawAlignment(Textdraw0,0);
TextDrawBackgroundColor(Textdraw0,0x000000ff);
TextDrawFont(Textdraw0,0);
TextDrawLetterSize(Textdraw0,0.299999,2.000000);
TextDrawColor(Textdraw0,0xffffffff);
TextDrawSetOutline(Textdraw0,1);
TextDrawSetProportional(Textdraw0,1);
TextDrawSetShadow(Textdraw0,1);
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid,Textdraw0);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
TextDrawDestroy(Textdraw0);
return 1;
}
public OnPlayerSpawn(playerid)
{
TextDrawShowForPlayer(playerid,Textdraw0);
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
TextDrawHideForPlayer(playerid,Textdraw0);
return 1;
}