#include <a_samp>new Text:Textdraw0;public OnFilterScriptInit(){print(\"Textdraw file generated by\");print(\" Zamaroht\'s textdraw editor was loaded.\");// Create the textdraws:Textdraw0 = TextDrawCreate(487.000000, 417.000000, \"Jatekos xy Meghalt!\");TextDrawBackgroundColor(Textdraw0, 255);TextDrawFont(Textdraw0, 2);TextDrawLetterSize(Textdraw0, 0.250000, 1.000000);TextDrawColor(Textdraw0, -1);TextDrawSetOutline(Textdraw0, 0);TextDrawSetProportional(Textdraw0, 1);TextDrawSetShadow(Textdraw0, 1);TextDrawUseBox(Textdraw0, 1);TextDrawBoxColor(Textdraw0, 49);TextDrawTextSize(Textdraw0, 637.000000, -18.000000);return 1;}public OnFilterScriptExit(){TextDrawHideForAll(Textdraw0);TextDrawDestroy(Textdraw0);return 1;}public OnPlayerRequestClass(playerid, classid){TextDrawShowForPlayer(playerid, Textdraw0);return 1;}public OnPlayerSpawn(playerid){TextDrawHideForPlayer(playerid, Textdraw0);return 1;}
public OnPlayerDeath(playerid, killerid, reason){new name[24], txd;GetPlayerName(playerid, name, sizeof(name));format(txd, sizeof(txd), \"%s meghalt!\", name);TextDrawSetString(Textdraw0, txd);return 1;}
Nemírná valaki meg nekem tejesen? ::| :confused: :doubt:
#include <a_samp>new Text:Textdraw0;public OnFilterScriptInit(){print(\"Textdraw file generated by\");print(\" Zamaroht\'s textdraw editor was loaded.\");// Create the textdraws:Textdraw0 = TextDrawCreate(487.000000, 417.000000, \"Jatekos xy Meghalt!\");TextDrawBackgroundColor(Textdraw0, 255);TextDrawFont(Textdraw0, 2);TextDrawLetterSize(Textdraw0, 0.250000, 1.000000);TextDrawColor(Textdraw0, -1);TextDrawSetOutline(Textdraw0, 0);TextDrawSetProportional(Textdraw0, 1);TextDrawSetShadow(Textdraw0, 1);TextDrawUseBox(Textdraw0, 1);TextDrawBoxColor(Textdraw0, 49);TextDrawTextSize(Textdraw0, 637.000000, -18.000000);return 1;}public OnFilterScriptExit(){TextDrawHideForAll(Textdraw0);TextDrawDestroy(Textdraw0);return 1;}public OnPlayerRequestClass(playerid, classid){TextDrawShowForPlayer(playerid, Textdraw0);return 1;}public OnPlayerSpawn(playerid){TextDrawHideForPlayer(playerid, Textdraw0);return 1;}public OnPlayerDeath(playerid, killerid, reason){new g_szTxd[ 128 + 25 ]; // 128 a karakterek száma, 24 a név, 1 a \\0 karakterGetPlayerName(playerid, g_szTxd, sizeof(g_szTxd));format(g_szTxd, sizeof(g_szTxd), \"%s meghalt!\", g_szTxd);TextDrawSetString(Textdraw0, g_szTxd);return 1;}