Jump to content

Question

Posted

Salutare Am si io o eroare la server imi da urmatoarea eroare

C:\Users\Razvan\Desktop\New Folder\gamemodes\DKR.pwn(831) : error 001: expected token: "}", but found "enum"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Ce ar trebui sa fac nam nici o idee :S dau +1 cel care ma ajuta si merge!:D

Sunt maper profesionist nimic mai mult

8 answers to this question

Recommended Posts

Posted

Astai eraorea

//------------------------------------------------------------------------------

//Enum-----------------------------------------------------------------------

//------------------------------------------------------------------------------

enum

{

CommonRed = 19006,

CommonOrange,

CommonGreen,

CommonBlue,

CommonPurple,

CommonEspiral,

CommonBlack,

CommonEyes,

CommonXadrex,

CommonTransparent,

CommonXRayVision,

SquareFormatYellow,

SquareFormatOrange,

SquareFormatRed,

SquareFormatBlue,

SquareFormatGreen,

RayBanGray,

RayBanBlue,

RayBanPurple,

RayBanPink,

RayBanRed,

RayBanOrange,

RayBanYellow,

RayBanGreen,

CircularNormal,

CircularYellow,

CircularRed,

CircularBlack,

CircularXadrex,

CircularThunders,

CopGlassesBlack = 19138,

CopGlassesRed = 19139,

CopGlassesBlue = 19140,

};

Dar nuj sa o rezolv? vreo idee?

Sunt maper profesionist nimic mai mult

Posted

Nuj daca dau ce trebuie dar sper ca da

//------------------------------------------------------------------------------

//Meg---------------------------------------------------------------------------

//------------------------------------------------------------------------------

new

Msg;

new Announcements[14][128] = {

            {""DKR_RED"[server]:"DKR_WHITE"Vrei sa ai viteza mare? Scrie "DKR_ORANGE"/sb."},

            {""DKR_RED"[server]:"DKR_WHITE"Vrei sa iti editezi stilul de lupta? Scrie"DKR_ORANGE"/fs "DKR_WHITE"Pentru inf."},

            {""DKR_RED"[server]:"DKR_WHITE"Scrie /cmds pentru o lista de comenzi."},

            {""DKR_RED"[server]:"DKR_WHITE"Vrei sa iti cumperi arme? Scrie "DKR_ORANGE"/wepons /arme"},

            {""DKR_RED"[server]:"DKR_WHITE"Doriþi sã planeze 1000 picioare + in aer? De tip "DKR_ORANGE" / scufundare!"},

            {""DKR_RED"[server]:"DKR_WHITE"Facem updateuri in fiecare saptamana!"},

            {""DKR_RED"[server]:"DKR_WHITE"Use "DKR_GREEN"/v car name "DKR_WHITE"Ex:"DKR_GREEN"/v sultan /v elegy)"},

            {""DKR_RED"[server]:"DKR_WHITE"Vrei teleporturi super? Scrie "DKR_ORANGE"/teles!"},

            {""DKR_RED"[server]:"DKR_WHITE"Esti nou pe server? Scrie "DKR_GREEN"/cmds "DKR_WHITE"si "DKR_RED"/rules!"},

            {""DKR_RED"[server]:"DKR_WHITE"Vrei sa sari la o rampa?  Scrie "DKR_ORANGE"/teles!"},

{""DKR_RED"[server]:"DKR_WHITE"Bine ai venit pe "DKR_RED"Romania "DKR_YELLOW"No "DKR_BLUE"Limit! "DKR_WHITE"Distracite placuta!"},

{""DKR_RED"[server]:"DKR_WHITE"Vrei arme mari? Scrie "DKR_GREEN"/wepons /arme!"},

{""DKR_RED"[server]:"DKR_WHITE"Vrei Admin ? contacteazama la id [email protected]"},

{""DKR_RED"[server]:"DKR_WHITE"Ai gasit un hacker? Raporteazal cu "DKR_GREEN"/report [id] [reason]"}

//------------------------------------------------------------------------------

//Enum-----------------------------------------------------------------------

//------------------------------------------------------------------------------

enum

{

CommonRed = 19006,

CommonOrange,

CommonGreen,

CommonBlue,

CommonPurple,

CommonEspiral,

CommonBlack,

CommonEyes,

CommonXadrex,

CommonTransparent,

CommonXRayVision,

SquareFormatYellow,

SquareFormatOrange,

SquareFormatRed,

SquareFormatBlue,

SquareFormatGreen,

RayBanGray,

RayBanBlue,

RayBanPurple,

RayBanPink,

RayBanRed,

RayBanOrange,

RayBanYellow,

RayBanGreen,

CircularNormal,

CircularYellow,

CircularRed,

CircularBlack,

CircularXadrex,

CircularThunders,

CopGlassesBlack = 19138,

CopGlassesRed = 19139,

CopGlassesBlue = 19140,

};

Sunt maper profesionist nimic mai mult

Posted

data viitoare foloseste [ pawn ] [ /pawn ]

[pawn]

new

        Msg;

new Announcements[14][128] = {

            {""DKR_RED"[server]:"DKR_WHITE"Vrei sa ai viteza mare? Scrie "DKR_ORANGE"/sb."},

            {""DKR_RED"[server]:"DKR_WHITE"Vrei sa iti editezi stilul de lupta? Scrie"DKR_ORANGE"/fs "DKR_WHITE"Pentru inf."},

            {""DKR_RED"[server]:"DKR_WHITE"Scrie /cmds pentru o lista de comenzi."},

            {""DKR_RED"[server]:"DKR_WHITE"Vrei sa iti cumperi arme? Scrie "DKR_ORANGE"/wepons /arme"},

            {""DKR_RED"[server]:"DKR_WHITE"Doriþi sã planeze 1000 picioare + in aer? De tip "DKR_ORANGE" / scufundare!"},

            {""DKR_RED"[server]:"DKR_WHITE"Facem updateuri in fiecare saptamana!"},

            {""DKR_RED"[server]:"DKR_WHITE"Use "DKR_GREEN"/v car name "DKR_WHITE"Ex:"DKR_GREEN"/v sultan /v elegy)"},

            {""DKR_RED"[server]:"DKR_WHITE"Vrei teleporturi super? Scrie "DKR_ORANGE"/teles!"},

            {""DKR_RED"[server]:"DKR_WHITE"Esti nou pe server? Scrie "DKR_GREEN"/cmds "DKR_WHITE"si "DKR_RED"/rules!"},

            {""DKR_RED"[server]:"DKR_WHITE"Vrei sa sari la o rampa?  Scrie "DKR_ORANGE"/teles!"},

            {""DKR_RED"[server]:"DKR_WHITE"Bine ai venit pe "DKR_RED"Romania "DKR_YELLOW"No "DKR_BLUE"Limit! "DKR_WHITE"Distracite placuta!"},

            {""DKR_RED"[server]:"DKR_WHITE"Vrei arme mari? Scrie "DKR_GREEN"/wepons /arme!"},

            {""DKR_RED"[server]:"DKR_WHITE"Vrei Admin ? contacteazama la id [email protected]"},

            {""DKR_RED"[server]:"DKR_WHITE"Ai gasit un hacker? Raporteazal cu "DKR_GREEN"/report [id] [reason]"}

};

//------------------------------------------------------------------------------

//Enum-----------------------------------------------------------------------

//------------------------------------------------------------------------------

enum

{

        CommonRed = 19006,

        CommonOrange,

        CommonGreen,

        CommonBlue,

        CommonPurple,

        CommonEspiral,

        CommonBlack,

        CommonEyes,

        CommonXadrex,

        CommonTransparent,

        CommonXRayVision,

        SquareFormatYellow,

        SquareFormatOrange,

        SquareFormatRed,

        SquareFormatBlue,

        SquareFormatGreen,

        RayBanGray,

        RayBanBlue,

        RayBanPurple,

        RayBanPink,

        RayBanRed,

        RayBanOrange,

        RayBanYellow,

        RayBanGreen,

        CircularNormal,

        CircularYellow,

        CircularRed,

        CircularBlack,

        CircularXadrex,

        CircularThunders,

        CopGlassesBlack = 19138,

        CopGlassesRed = 19139,

        CopGlassesBlue = 19140,

};

[/pawn]

Cred ca ai uitat sa pui }; la sfarsitul mesajelor. Incearca asa ...

communitylogosml.png

94.23.120.101:7778

Posted

baga asa :

new
         Msg;
new Announcements[14][128] = {
            {""DKR_RED"[Server]:"DKR_WHITE"Vrei sa ai viteza mare? Scrie "DKR_ORANGE"/sb."},
            {""DKR_RED"[Server]:"DKR_WHITE"Vrei sa iti editezi stilul de lupta? Scrie"DKR_ORANGE"/fs "DKR_WHITE"Pentru inf."},
            {""DKR_RED"[Server]:"DKR_WHITE"Scrie /cmds pentru o lista de comenzi."},
            {""DKR_RED"[Server]:"DKR_WHITE"Vrei sa iti cumperi arme? Scrie "DKR_ORANGE"/wepons /arme"},
            {""DKR_RED"[Server]:"DKR_WHITE"Doriþi sã planeze 1000 picioare + in aer? De tip "DKR_ORANGE" / scufundare!"},
            {""DKR_RED"[Server]:"DKR_WHITE"Facem updateuri in fiecare saptamana!"},
            {""DKR_RED"[Server]:"DKR_WHITE"Use "DKR_GREEN"/v car name "DKR_WHITE"Ex:"DKR_GREEN"/v sultan /v elegy)"},
            {""DKR_RED"[Server]:"DKR_WHITE"Vrei teleporturi super? Scrie "DKR_ORANGE"/teles!"},
            {""DKR_RED"[Server]:"DKR_WHITE"Esti nou pe server? Scrie "DKR_GREEN"/cmds "DKR_WHITE"si "DKR_RED"/rules!"},
            {""DKR_RED"[Server]:"DKR_WHITE"Vrei sa sari la o rampa?  Scrie "DKR_ORANGE"/teles!"},
            {""DKR_RED"[Server]:"DKR_WHITE"Bine ai venit pe "DKR_RED"Romania "DKR_YELLOW"No "DKR_BLUE"Limit! "DKR_WHITE"Distracite placuta!"},
            {""DKR_RED"[Server]:"DKR_WHITE"Vrei arme mari? Scrie "DKR_GREEN"/wepons /arme!"},
            {""DKR_RED"[Server]:"DKR_WHITE"Vrei Admin ? contacteazama la id [email protected]"},
            {""DKR_RED"[Server]:"DKR_WHITE"Ai gasit un hacker? Raporteazal cu "DKR_GREEN"/report [id] [reason]"}
};

//------------------------------------------------------------------------------
//Enum-----------------------------------------------------------------------
//------------------------------------------------------------------------------
enum
{
         CommonRed = 19006,
         CommonOrange,
         CommonGreen,
         CommonBlue,
         CommonPurple,
         CommonEspiral,
         CommonBlack,
         CommonEyes,
         CommonXadrex,
         CommonTransparent,
         CommonXRayVision,
         SquareFormatYellow,
         SquareFormatOrange,
         SquareFormatRed,
         SquareFormatBlue,
         SquareFormatGreen,
         RayBanGray,
         RayBanBlue,
         RayBanPurple,
         RayBanPink,
         RayBanRed,
         RayBanOrange,
         RayBanYellow,
         RayBanGreen,
         CircularNormal,
         CircularYellow,
         CircularRed,
         CircularBlack,
         CircularXadrex,
         CircularThunders,
         CopGlassesBlack = 19138,
         CopGlassesRed = 19139,
         CopGlassesBlue = 19140
};

Si o sa mearga sigur ;)

76561198055981270.png

http://devilgaming.ro/forum

Posted

R@zvan" post="94263" timestamp="1316675546"]

Multumnesc de ajutor am rezolvat am o intrebare Cum pot sa adaug o mapa in sv sub forma de fs? cu toto cu telport

#include <a_samp>
//#include <streamer> // daca folosesti

public OnFilterScriptInit( )
{
    // Obiecte, cu sau fara streamer, mai bine cu
}

=- link=action=profile;u=139 date=1316764026]

Cititi cu atentie regulamentul forumului si regulamentul de la celelalte sub-boarduri, precum "discutii scripting" "filmulete si poze" .. etc.


Nu mai postati la discutii scripting topicuri ce au la nume "ajutor" "salvati-ma" help" "problema" "nu-mi merge" "nu face" .. etc. .. de acum voi incerca sa aplic regulamentul, vi se va sterge topicul si veti primi un warn cat voi de mare. Postati la numele topicului ce problema aveti. Macar asa invatati si voi sa va exprimati si nu se va ajunge in viitor ca anul asta la bac.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.