hasonló képpen próbálkozz:
[pawn]#include <a_samp>
new Text:muszerfal;
new Text:xpcsik;
new Text:infovonal;
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, muszerfal);
TextDrawShowForPlayer(playerid, xpcsik);
TextDrawShowForPlayer(playerid, infovonal);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
TextDrawHideForPlayer(playerid, muszerfal);
TextDrawHideForPlayer(playerid, xpcsik);
TextDrawHideForPlayer(playerid, infovonal);
return 1;
}
public OnFilterScriptInit()
{
muszerfal = TextDrawCreate(200.0, 50.0, \"x\");
TextDrawUseBox(muszerfal, 1);
TextDrawColor(muszerfal,0x12900BBF);
TextDrawBoxColor(muszerfal, 0x12900BBF);
TextDrawSetOutline(muszerfal,1);
TextDrawBackgroundColor(muszerfal, 0x000000FF);
TextDrawFont(muszerfal, 2);
TextDrawAlignment(muszerfal, 2);
xpcsik = TextDrawCreate(548.500000000, 36.000000, \"x\");
TextDrawUseBox(xpcsik, 1);
TextDrawColor(xpcsik,0x12900BBF);
TextDrawBoxColor(xpcsik, 0x00000000);
TextDrawSetOutline(xpcsik,1);
TextDrawBackgroundColor(xpcsik, 0x00000000);
TextDrawFont(xpcsik, 2);
SetGameModeText(\"Blank Script\");
AddPlayerClass(101,722.3772,-1477.2856,5.4688,272.3814,0,0,0,0,0,0);
TextDrawAlignment(xpcsik, 2);
infovonal = TextDrawCreate(0.0, 0.0, \"x\");
TextDrawUseBox(infovonal, 1);
TextDrawColor(infovonal,0x12900BBF);
TextDrawBoxColor(infovonal, 0x12900BBF);
TextDrawSetOutline(infovonal,1);
TextDrawBackgroundColor(infovonal, 0x000000FF);
TextDrawFont(infovonal, 2);
TextDrawAlignment(infovonal, 2);
return 1;
}[/pawn]
szerkesztve! elõzöt elronttottam