Sziasztok:)
Valaki segiteni kijavitani nehany hleyesirasi hibat kijavitani szeromon?
Es ha ekezettel irok akkort miert nem rakja be a betuket?
#include
#include
new Text:Textdraw0,
Text:Textdraw1,
OnlinePlayers;
public OnFilterScriptInit()
{
print(\"Fs By Cappy\'s Role Play\");
print(\"Számláló készítette Bence\");
Textdraw0 = TextDrawCreate(500.000000, 100.000000, \"népeség:\");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 1);
TextDrawLetterSize(Textdraw0, 0.500000, 1.000000);
TextDrawColor(Textdraw0, -1);
TextDrawSetOutline(Textdraw0, 1);
TextDrawSetProportional(Textdraw0, 1);
Textdraw1 = TextDrawCreate(584.000000, 99.000000, \"x\");
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 2);
TextDrawLetterSize(Textdraw1, 0.500000, 1.000000);
TextDrawColor(Textdraw1, -1);
TextDrawSetOutline(Textdraw1, 0);
TextDrawSetProportional(Textdraw1, 1);
TextDrawSetShadow(Textdraw1, 1);
for(new i; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
OnlinePlayers++;
TextDrawShowForPlayer(i, Textdraw0);
TextDrawShowForPlayer(i, Textdraw1);
}
}
return 1;
}
public OnFilterScriptExit()
{
TextDrawHideForAll(Textdraw0);
TextDrawDestroy(Textdraw0);
TextDrawHideForAll(Textdraw1);
TextDrawDestroy(Textdraw1);
return 1;
}
public OnPlayerConnect(playerid)
{
OnlinePlayers++;
new newtext[41];
format(newtext, sizeof(newtext), \"%d\", OnlinePlayers, GetMaxPlayers());
TextDrawSetString(Textdraw1, newtext);
TextDrawShowForPlayer(playerid, Textdraw1);
TextDrawShowForPlayer(playerid, Textdraw0);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
OnlinePlayers--;
new newtext[41];
format(newtext, sizeof(newtext), \"%d\", OnlinePlayers, GetMaxPlayers());
TextDrawSetString(Textdraw1, newtext);
TextDrawHideForPlayer(playerid, Textdraw1);
return 1;
}
Ennel a scriptnel nem rakja be az ekezetes irasokat es hiaba vannak a szeron csak 0/10-et ir