What this warning?
#3

Should fix.

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/buylevel", cmdtext, true, 9) == 0)
    {
        if(GetPVarInt(playerid, "p_Respect") >= 10)
        {
            SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
            SendClientMessage(playerid, 0xFFFFFFAA, "SERVER: You have buy 1 level.");
        }
        else
        {
            return SendClientMessage(playerid, 0xFFFFFFAA, "SERVER: Dont have respects.");
        }
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
What this warning? - by mariokumanovac - 11.07.2010, 12:36
Re: What this warning? - by Grim_ - 11.07.2010, 12:37
Re: What this warning? - by V1ceC1ty - 11.07.2010, 12:38
Re: What this warning? - by mariokumanovac - 11.07.2010, 12:41

Forum Jump:


Users browsing this thread: 1 Guest(s)