again problem with script
#5

Damm it dude you you open the braked { you later need to close it } next time i wont help you check your code correct

pawn Код:
if (strcmp("/buylevel", cmdtext, true) == 0)
{
    if(GetPlayerScore(playerid)==0)
    {
        if(GetPlayerMoney(playerid) < 1000000)//
        {
            SendClientMessage(playerid, 0xE6000033, "Jums nav pietiekami daudz naudas, lai nopirktu 1. li-meni!");
        }
    } // you miss it here
    else
    {
        SetPlayerScore(playerid, 1);
        GivePlayerMoney(playerid, -1000000);//
        SendClientMessage(playerid, 0x33AA33AA, "Apsveicam! Ju-s iega-da-ja-ties 1. Li-meni. Tagad jums ir iespe-ja lietot /repair, lai salabotu mas(i-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)