Jó lett csak van benne egy hiba: Nem tettél \" jelet a textdraw-okhoz... vagyis nállam ez volt a hiba :DD
#include <a_samp>
#include <zcmd>
#include <fixchars>
new Text:Textdraw0;
new Text:Textdraw1;
new Text:Textdraw2;
///////////////Rangok///////////
#define Kezdo \"Rang:Kezdõ\"
#define Elit \"Rang:Elit\"
#define Zsirkiraly \"Rang:Zsirkirály\"
#define Titan \"Rang:Titán\"
#define Felisten \"Rang:Félisten\"
#define Mindenhato \"Rang:Mindenható\"
///////////////////////////////
///////////////Szint//////////
#define egy \"Szint:1\"
#define ketto \"Szint:2\"
#define harom \"Szint:3\"
#define negy \"Szint:4\"
#define ot \"Szint:5\"
#define hat \"Szint:6\"
///////////////////////////
public OnFilterScriptInit()
{
SetTimer(\"Szamitas\", 1000, true);
Textdraw0 = TextDrawCreate(1.000000, 423.000000, \"_\");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 0);
TextDrawLetterSize(Textdraw0, 0.700000, 2.799999);
TextDrawColor(Textdraw0, -65281);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetShadow(Textdraw0, 1);
Textdraw1 = TextDrawCreate(250.000000, 420.000000, \"_\");
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 0);
TextDrawLetterSize(Textdraw1, 0.820000, 3.000000);
TextDrawColor(Textdraw1, 16777215);
TextDrawSetOutline(Textdraw1, 0);
TextDrawSetProportional(Textdraw1, 1);
TextDrawSetShadow(Textdraw1, 1);
Textdraw2 = TextDrawCreate(483.000000, 422.000000, \"_\");
TextDrawBackgroundColor(Textdraw2, 255);
TextDrawFont(Textdraw2, 0);
TextDrawLetterSize(Textdraw2, 0.600000, 3.100000);
TextDrawColor(Textdraw2, -16776961);
TextDrawSetOutline(Textdraw2, 0);
TextDrawSetProportional(Textdraw2, 1);
TextDrawSetShadow(Textdraw2, 1);
return 1;
}
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid,Textdraw0);
TextDrawShowForPlayer(playerid,Textdraw1);
TextDrawShowForPlayer(playerid,Textdraw2);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
TextDrawHideForPlayer(playerid,Textdraw0);
TextDrawHideForPlayer(playerid,Textdraw1);
TextDrawHideForPlayer(playerid,Textdraw2);
return 1;
}
forward Szamitas(playerid);
public Szamitas(playerid)
{
new string[65],pont = GetPlayerScore(playerid);
format(string,sizeof(string),\"Pont: %d\",pont);
TextDrawSetString(Textdraw0, string);
if((GetPlayerScore(playerid) >= 0) && (GetPlayerScore(playerid) <= 50))
{
TextDrawSetString(Textdraw1,\"Kezdo\");
}
if((GetPlayerScore(playerid) >= 51) && (GetPlayerScore(playerid) <= 100))
{
TextDrawSetString(Textdraw1\",Elit\");
}
if((GetPlayerScore(playerid) >= 101) && (GetPlayerScore(playerid) <= 140))
{
TextDrawSetString(Textdraw1,\"Zsirkiraly\");
}
if((GetPlayerScore(playerid) >= 141) && (GetPlayerScore(playerid) <= 180))
{
TextDrawSetString(Textdraw1,\"Titan\");
}
if((GetPlayerScore(playerid) >= 181) && (GetPlayerScore(playerid) <= 201))
{
TextDrawSetString(Textdraw1,\"Felisten\");
}
if((GetPlayerScore(playerid) >= 202) && (GetPlayerScore(playerid) <= 300))
{
TextDrawSetString(Textdraw1,\"Mindenhato\");
}
/////////////////////Szint/////////////////////////////////////////////
if((GetPlayerScore(playerid) >= 0) && (GetPlayerScore(playerid) <= 50))
{
TextDrawSetString(Textdraw2,egy);
}
if((GetPlayerScore(playerid) >= 51) && (GetPlayerScore(playerid) <= 100))
{
TextDrawSetString(Textdraw2,ketto);
}
if((GetPlayerScore(playerid) >= 101) && (GetPlayerScore(playerid) <= 140))
{
TextDrawSetString(Textdraw2,harom);
}
if((GetPlayerScore(playerid) >= 141) && (GetPlayerScore(playerid) <= 180))
{
TextDrawSetString(Textdraw2,negy);
}
if((GetPlayerScore(playerid) >= 181) && (GetPlayerScore(playerid) <= 201))
{
TextDrawSetString(Textdraw2,ot);
}
if((GetPlayerScore(playerid) >= 202) && (GetPlayerScore(playerid) <= 300))
{
TextDrawSetString(Textdraw2,hat);
}
}
//////////////////////////////////////parancs score///////////////////
CMD:aa(playerid,params[])
{
SetPlayerScore(playerid,40);
return 1;
}
CMD:aaa(playerid,params[])
{
SetPlayerScore(playerid,70);
return 1;
}
CMD:aaaa(playerid,params[])
{
SetPlayerScore(playerid,110);
return 1;
}
CMD:k(playerid,params[])
{
SetPlayerScore(playerid,150);
return 1;
}
CMD:kk(playerid,params[])
{
SetPlayerScore(playerid,190);
return 1;
}
CMD:kkk(playerid,params[])
{
SetPlayerScore(playerid,250);
return 1;
}
Szólj ha hülyeséget írtam de szerintem ez a jó!!