// This is a comment// uncomment the line below if you want to write a filterscript//#define FILTERSCRIPT#include <a_samp>new Text:textdraw;new Text:textdraw1; public OnGameModeInit(){textdraw = TextDrawCreate(21,446,\"Ölés:\"); TextDrawFont(textdraw,1); TextDrawUseBox(textdraw,1); textdraw1 = TextDrawCreate(156,440,\"Halal:\"); TextDrawFont(textdraw,1); TextDrawUseBox(textdraw,1);return 1;}public OnGameModeExit(){return 1;} public OnPlayerConnect(playerid){ TextDrawShowForPlayer(playerid, textdraw1); TextDrawShowForPlayer(playerid, textdraw);return 1;}public OnPlayerDisconnect(playerid, reason){ TextDrawHideForPlayer(playerid, textdraw1); TextDrawHideForPlayer(playerid, textdraw);return 1;}
new szamolas;
szamolas++;
szamolas--;
#include <a_samp>new PlayerText:TextDraw[2],PlayerStat[MAX_PLAYERS][2];public OnGameModeInit() return 1;public OnGameModeExit() return 1;public OnPlayerConnect(playerid) { TextDraw[0] = CreatePlayerTextDraw(playerid, 21,446,\"Ölés:\");PlayerTextDrawFont(playerid, TextDraw[0],1);PlayerTextDrawUseBox(playerid, TextDraw[0],1);TextDraw[1] = CreatePlayerTextDraw(playerid, 156,440,\"Halal:\");PlayerTextDrawFont(playerid, TextDraw[1],1);PlayerTextDrawUseBox(playerid, TextDraw[1],1);return 1;}public OnPlayerDisconnect(playerid, reason) {PlayerTextDrawDestroy(playerid, TextDraw[1]);PlayerTextDrawDestroy(playerid, TextDraw[0]);return 1;}public OnPlayerSpawn(playerid) {PlayerTextDrawShow(playerid, TextDraw[1]);PlayerTextDrawShow(playerid, TextDraw[0]);return 1;}public OnPlayerDeath(playerid, killerid, reason) {new string[32]; PlayerTextDrawHide(playerid, TextDraw[1]);PlayerTextDrawHide(playerid, TextDraw[0]);PlayerStat[killerid][0]++;PlayerStat[playerid][1]++;format(string, sizeof(string), \"Ölés: %d\", PlayerStat[killerid][0]);PlayerTextDrawSetString(killerid, TextDraw[0], string);format(string, sizeof(string), \"Halál: %d\", PlayerStat[playerid][1]);PlayerTextDrawSetString(playerid, TextDraw[1], string);return 1;}
D:\\NST 2.0\\filterscripts\\DMtext.pwn(9) : error 017: undefined symbol \"CreatePlayerTextDraw\"D:\\NST 2.0\\filterscripts\\DMtext.pwn(9) : warning 213: tag mismatchD:\\NST 2.0\\filterscripts\\DMtext.pwn(10) : error 017: undefined symbol \"PlayerTextDrawFont\"D:\\NST 2.0\\filterscripts\\DMtext.pwn(11) : error 017: undefined symbol \"PlayerTextDrawUseBox\"D:\\NST 2.0\\filterscripts\\DMtext.pwn(13) : error 017: undefined symbol \"CreatePlayerTextDraw\"D:\\NST 2.0\\filterscripts\\DMtext.pwn(13) : warning 213: tag mismatchD:\\NST 2.0\\filterscripts\\DMtext.pwn(14) : error 017: undefined symbol \"PlayerTextDrawFont\"D:\\NST 2.0\\filterscripts\\DMtext.pwn(15) : error 017: undefined symbol \"PlayerTextDrawUseBox\"D:\\NST 2.0\\filterscripts\\DMtext.pwn(19) : error 017: undefined symbol \"PlayerTextDrawDestroy\"D:\\NST 2.0\\filterscripts\\DMtext.pwn(20) : error 017: undefined symbol \"PlayerTextDrawDestroy\"D:\\NST 2.0\\filterscripts\\DMtext.pwn(24) : error 017: undefined symbol \"PlayerTextDrawShow\"D:\\NST 2.0\\filterscripts\\DMtext.pwn(25) : error 017: undefined symbol \"PlayerTextDrawShow\"D:\\NST 2.0\\filterscripts\\DMtext.pwn(30) : error 017: undefined symbol \"PlayerTextDrawHide\"D:\\NST 2.0\\filterscripts\\DMtext.pwn(31) : error 017: undefined symbol \"PlayerTextDrawHide\"D:\\NST 2.0\\filterscripts\\DMtext.pwn(37) : error 017: undefined symbol \"PlayerTextDrawSetString\"D:\\NST 2.0\\filterscripts\\DMtext.pwn(40) : error 017: undefined symbol \"PlayerTextDrawSetString\"Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 14 Errors.