Driving License
#3

I haven`t scripted anything for months and I have to remember the basic things
What do you think about this? I`m not sure about anything


pawn Код:
#include <a_samp>

public OnPlayerCommandText(playerid, cmdtext[])
{
    if(GetPlayerScore(playerid) < 2000
    {
        SendClientMessage(playerid,red,"You don`t have enough score for Professional License");
        return 1;
        }
        else if(GetPlayerScore(playerid) > 2000
        {
            SendClientMessage(playerid, red, "Congratz! You have now Proffesional License");
            GivePlayerMoney(playerid, -1000);
            GivePlayerScore(playerid, -20000);
            return 0;
            }

BTW I have another question: Why I can`t compile anything? No errors, everything is ok and "Unable to execute compiler"...
Reply


Messages In This Thread
Driving License - by BaFTa - 04.01.2011, 18:46
Re: Driving License - by alpha500delta - 04.01.2011, 19:04
Re: Driving License - by BaFTa - 04.01.2011, 19:08
Re: Driving License - by alpha500delta - 04.01.2011, 19:15
Re: Driving License - by BaFTa - 04.01.2011, 19:45

Forum Jump:


Users browsing this thread: 2 Guest(s)