new Text:OloMero;new egyik = 0;new masik = 0;forward ujratoltes(playerid);
SetTimer(\"ujratoltes\", 1000, true);OloMero = TextDrawCreate(500.000000, 350.000000, \"Jack ölések:~r~ 0~n~~w~Jack ölések:~b~ 0\");TextDrawBackgroundColor(OloMero, 255);TextDrawFont(OloMero, 1);TextDrawLetterSize(OloMero, 0.290000, 1.400000);TextDrawColor(OloMero, -1);TextDrawSetOutline(OloMero, 0);TextDrawSetProportional(OloMero, 1);TextDrawSetShadow(OloMero, 1);
public ujratoltes(playerid){new scoretext[128];format(scoretext, sizeof(scoretext), \"Jack ölések:~r~ %i~n~~w~Jack ölések:~b~ %i\", egyik, masik);TextDrawSetString(OloMero, scoretext);for(new i = 0; i < 100; i++)TextDrawShowForPlayer(playerid, OloMero);return 1;}
TextDrawShowForPlayer(playerid,OloMero);
egyik = 0;masik = 0;
//Ez egy példaif(gTeam[playerid] == CSAPAT_JACK) { egyik += 1; }
//Jack FS. pont számláló#include <a_samp> new Text:OloMero;new egyik = 0;new masik = 0;forward ujratoltes(playerid);#if defined FILTERSCRIPTpublic OnFilterScriptInit(){print(\"\\n--------------------------------------\");print(\" Jack pont FS\");print(\"--------------------------------------\\n\"); SetTimer(\"ujratoltes\", 1000, true);OloMero = TextDrawCreate(500.000000, 350.000000, \"Jack ölések:~r~ 0~n~~w~Jack ölések:~b~ 0\");TextDrawBackgroundColor(OloMero, 255);TextDrawFont(OloMero, 1);TextDrawLetterSize(OloMero, 0.290000, 1.400000);TextDrawColor(OloMero, -1);TextDrawSetOutline(OloMero, 0);TextDrawSetProportional(OloMero, 1);TextDrawSetShadow(OloMero, 1); return 1;}public OnFilterScriptExit(){egyik = 0;masik = 0;return 1;}#elsemain(){print(\"\\n----------------------------------\");print(\" Jack pont számláló\");print(\"----------------------------------\\n\");}#endif public OnPlayerConnect(playerid){return 1;} public OnPlayerDeath(playerid, killerid, reason){/*if(gTeam[playerid] == IDE IRD A CSAPATOD NEVÉT pl:TEAM_BABA){egyik += 1;}if(gTeam[playerid] == IDE IRD A CSAPATOD NEVÉT pl:TEAM_BABA2){masik += 1;}*/return 1;}public ujratoltes(playerid){new scoretext[128];format(scoretext, sizeof(scoretext), \"Jack ölések:~r~ %i~n~~w~Jack ölések:~b~ %i\", egyik, masik);TextDrawSetString(OloMero, scoretext);for(new i = 0; i < 100; i++)TextDrawShowForPlayer(playerid, OloMero);return 1;} public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/dm\", cmdtext, true, 10) == 0){//SetPlayerPos(playerid,IDE A KOORIDNÁTA);TextDrawShowForPlayer(playerid,OloMero);return 1;}return 0;}
//Jack FS. pont számláló#include <a_samp> new Text:OloMero;new egyik = 0;new masik = 0;forward ujratoltes(playerid);#if defined FILTERSCRIPTpublic OnFilterScriptInit(){print(\"\\n--------------------------------------\");print(\" Jack pont FS\");print(\"--------------------------------------\\n\"); SetTimer(\"ujratoltes\", 1000, true);OloMero = TextDrawCreate(500.000000, 350.000000, \"Jack ölések:~r~ 0~n~~w~Jack ölések:~b~ 0\");TextDrawBackgroundColor(OloMero, 255);TextDrawFont(OloMero, 1);TextDrawLetterSize(OloMero, 0.290000, 1.400000);TextDrawColor(OloMero, -1);TextDrawSetOutline(OloMero, 0);TextDrawSetProportional(OloMero, 1);TextDrawSetShadow(OloMero, 1); return 1;}public OnFilterScriptExit(){egyik = 0;masik = 0;return 1;}#elsemain(){print(\"\\n----------------------------------\");print(\" Jack pont számláló\");print(\"----------------------------------\\n\");}#endif public OnPlayerConnect(playerid){return 1;} public OnPlayerDeath(playerid, killerid, reason){/*if(gTeam[playerid] == IDE IRD A CSAPATOD NEVÉT pl:TEAM_BABA){egyik += 1;}if(gTeam[playerid] == IDE IRD A CSAPATOD NEVÉT pl:TEAM_BABA2){masik += 1;}*/return 1;}public ujratoltes(playerid){new scoretext[128];format(scoretext, sizeof(scoretext), \"Jack ölések:~r~ %i~n~~w~Jack ölések:~b~ %i\", egyik, masik);TextDrawSetString(OloMero, scoretext);for(new i = 0; i < 100; i++)TextDrawShowForPlayer(playerid, OloMero);return 1;} public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/dm\", cmdtext, true, 10) == 0){//SetPlayerPos(playerid,IDE A KOORIDNÁTA);TextDrawShowForPlayer(playerid,OloMero);return 1;}if (strcmp(\"/exitdm\", cmdtext, true, 10) == 0){TextDrawDestroy(playerid,OloMero);return 1;}return 0;}
//Jack FS. pont számláló#include <a_samp> new Text:OloMero;new egyik = 0;new masik = 0;forward ujratoltes(playerid);#if defined FILTERSCRIPTpublic OnFilterScriptInit(){print(\"\\n--------------------------------------\");print(\" Jack pont FS\");print(\"--------------------------------------\\n\"); SetTimer(\"ujratoltes\", 1000, true);OloMero = TextDrawCreate(500.000000, 350.000000, \"Jack ölések:~r~ 0~n~~w~Jack ölések:~b~ 0\");TextDrawBackgroundColor(OloMero, 255);TextDrawFont(OloMero, 1);TextDrawLetterSize(OloMero, 0.290000, 1.400000);TextDrawColor(OloMero, -1);TextDrawSetOutline(OloMero, 0);TextDrawSetProportional(OloMero, 1);TextDrawSetShadow(OloMero, 1); return 1;}public OnFilterScriptExit(){egyik = 0;masik = 0;return 1;}#elsemain(){print(\"\\n----------------------------------\");print(\" Jack pont számláló\");print(\"----------------------------------\\n\");}#endif public OnPlayerConnect(playerid){return 1;} public OnPlayerDeath(playerid, killerid, reason){/*if(gTeam[playerid] == IDE IRD A CSAPATOD NEVÉT pl:TEAM_BABA){egyik += 1;}if(gTeam[playerid] == IDE IRD A CSAPATOD NEVÉT pl:TEAM_BABA2){masik += 1;}*/return 1;}public ujratoltes(playerid){new scoretext[128];format(scoretext, sizeof(scoretext), \"Jack ölések:~r~ %i~n~~w~Jack ölések:~b~ %i\", egyik, masik);TextDrawSetString(OloMero, scoretext);for(new i = 0; i < 100; i++)TextDrawShowForPlayer(playerid, OloMero);return 1;} public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/dm\", cmdtext, true, 10) == 0){/SetPlayerPos(playerid,-530.8275,2602.8733,53.4232);TextDrawShowForPlayer(playerid,OloMero);return 1;}if (strcmp(\"/exitdm\", cmdtext, true, 10) == 0){TextDrawDestroy(playerid,OloMero);return 1;}return 0;}
D:\\Server Biz másolplás\\filterscripts\\dgw.pwn(98) : error 029: invalid expression, assumed zeroD:\\Server Biz másolplás\\filterscripts\\dgw.pwn(105) : warning 213: tag mismatchD:\\Server Biz másolplás\\filterscripts\\dgw.pwn(105) : warning 202: number of arguments does not match definitionPawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase1 Error.[/quote]
//Jack FS. pont számláló#include <a_samp> new Text:OloMero;new egyik = 0;new masik = 0;forward ujratoltes(playerid);#if defined FILTERSCRIPTpublic OnFilterScriptInit(){print(\"\\n--------------------------------------\");print(\" Jack pont FS\");print(\"--------------------------------------\\n\"); SetTimer(\"ujratoltes\", 1000, true);OloMero = TextDrawCreate(500.000000, 350.000000, \"Jack ölések:~r~ 0~n~~w~Jack ölések:~b~ 0\");TextDrawBackgroundColor(OloMero, 255);TextDrawFont(OloMero, 1);TextDrawLetterSize(OloMero, 0.290000, 1.400000);TextDrawColor(OloMero, -1);TextDrawSetOutline(OloMero, 0);TextDrawSetProportional(OloMero, 1);TextDrawSetShadow(OloMero, 1); return 1;}public OnFilterScriptExit(){egyik = 0;masik = 0;return 1;}#elsemain(){print(\"\\n----------------------------------\");print(\" Jack pont számláló\");print(\"----------------------------------\\n\");}#endif public OnPlayerConnect(playerid){return 1;} public OnPlayerDeath(playerid, killerid, reason){/*if(gTeam[playerid] == IDE IRD A CSAPATOD NEVÉT pl:TEAM_BABA){egyik += 1;}if(gTeam[playerid] == IDE IRD A CSAPATOD NEVÉT pl:TEAM_BABA2){masik += 1;}*/return 1;}public ujratoltes(playerid){new scoretext[128];format(scoretext, sizeof(scoretext), \"Jack ölések:~r~ %i~n~~w~Jack ölések:~b~ %i\", egyik, masik);TextDrawSetString(OloMero, scoretext);for(new i = 0; i < 100; i++)TextDrawShowForPlayer(playerid, OloMero);return 1;} public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/dm\", cmdtext, true, 10) == 0){SetPlayerPos(playerid,-530.8275,2602.8733,53.4232);TextDrawShowForPlayer(playerid,OloMero);return 1;}if (strcmp(\"/exitdm\", cmdtext, true, 10) == 0){TextDrawDestroy(OloMero);return 1;}return 0;}