Rank compile failure
#1

I wanted to make 3D labels but compiling failed idk why here is the script
Код:
#include <a_samp>
#include <zcmd>


#define GREEN 0x33AA33AA
#define WHITE 0xFFFFFFAA
#define YELLOW 0xF9FF00FF
#define RED 0xFB0000FF
#if defined FILTERSCRIPT


public OnFilterScriptInit()
{
        print("\n--------------------------------------");
        print("Rank System by Sayko ");
        print("--------------------------------------\n");
        return 1;
}

main{}

#endif


public OnPlayerSpawn(playerid)
{
    if(GetPlayerScore(playerid) > 0 && GetPlayerScore(playerid) < 300)
    {
        new Text3D:label = Create3DTextLabel("Young Killa'",RED, 30.0, 40.0, 50.0, 40.0, 0);
        Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.4);
    }
    else if(GetPlayerScore(playerid) > 300 && GetPlayerScore(playerid) < 700)
    {
        new Text3D:label1 = Create3DTextLabel("Novice Killa'",RED, 30.0, 40.0, 50.0, 40.0, 0);
        Attach3DTextLabelToPlayer(label1, playerid, 0.0, 0.0, 0.4);
    }
    else if(GetPlayerScore(playerid) > 700 && GetPlayerScore(playerid) < 3000)
    {
        new Text3D:label2 = Create3DTextLabel("Pro Killa'",RED, 30.0, 40.0, 50.0, 40.0, 0);
        Attach3DTextLabelToPlayer(label2, playerid, 0.0, 0.0, 0.4);
    }
    else if(GetPlayerScore(playerid) > 3000 && GetPlayerScore(playerid) < 6000)
    {
        new Text3D:label3 = Create3DTextLabel("Immortal Killa'",RED, 30.0, 40.0, 50.0, 40.0, 0);
        Attach3DTextLabelToPlayer(label3, playerid, 0.0, 0.0, 0.4);
    }
    else if(GetPlayerScore(playerid) > 6000 && GetPlayerScore(playerid) < 10000)
    {
        new Text3D:label4 = Create3DTextLabel("Rockstar Killa'",RED, 30.0, 40.0, 50.0, 40.0, 0);
        Attach3DTextLabelToPlayer(label4, playerid, 0.0, 0.0, 0.4);
    }
    else if(GetPlayerScore(playerid) > 10000 && GetPlayerScore(playerid) < 20000)
    {
        new Text3D:label5 = Create3DTextLabel("Sayko Killa'",RED, 30.0, 40.0, 50.0, 40.0, 0);
        Attach3DTextLabelToPlayer(label5, playerid, 0.0, 0.0, 0.4);
	)
Reply


Messages In This Thread
Rank compile failure - by 5eloo - 09.08.2012, 03:19
Respuesta: Rank compile failure - by HarlemSAMP - 09.08.2012, 03:21
Re: Rank compile failure - by 5eloo - 09.08.2012, 03:22
Respuesta: Rank compile failure - by HarlemSAMP - 09.08.2012, 03:25
Re: Rank compile failure - by 5eloo - 09.08.2012, 03:28
Re: Rank compile failure - by Eminem 2ka9 - 09.08.2012, 03:35
Re: Rank compile failure - by 5eloo - 09.08.2012, 03:37
Respuesta: Rank compile failure - by HarlemSAMP - 09.08.2012, 03:37
Re: Respuesta: Rank compile failure - by 5eloo - 09.08.2012, 03:41
Respuesta: Rank compile failure - by HarlemSAMP - 09.08.2012, 03:42

Forum Jump:


Users browsing this thread: 2 Guest(s)