again problem with script
#4

okay this fixed it but now i got this problem:
D:\Documents and Settings\abc\Desktop\Serveris\Conex SA-MP\filterscripts\poke.pwn(39 : error 030: compound statement not closed at the end of file (started at line 86)

in this part:
pawn Код:
if (strcmp("/buylevel", cmdtext, true) == 0)
      {
            //1.LVL
//1lvl
if(GetPlayerScore(playerid)==0)
            {
            if(GetPlayerMoney(playerid) < 1000000)//
                {
                SendClientMessage(playerid, 0xE6000033, "Jums nav pietiekami daudz naudas, lai nopirktu 1. līmeni!");
                }
            else
                {
                SetPlayerScore(playerid, 1);
                GivePlayerMoney(playerid, -1000000);//
                SendClientMessage(playerid, 0x33AA33AA, "Apsveicam! Jūs iegādājāties 1. Līmeni. Tagad jums ir iespēja lietot /repair, lai salabotu maљīnu nekur nebraucot!");
                }
            return 1;
   }
Reply


Messages In This Thread
again problem with script - by fireboy - 30.09.2012, 15:26
Re: again problem with script - by Gangster-rocks - 30.09.2012, 15:29
Re: again problem with script - by doreto - 30.09.2012, 15:30
Re: again problem with script - by fireboy - 30.09.2012, 15:37
Re: again problem with script - by doreto - 30.09.2012, 15:42
Re: again problem with script - by fireboy - 30.09.2012, 15:57

Forum Jump:


Users browsing this thread: 1 Guest(s)