30.09.2012, 15:42
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;
}