#2

make something like PlayerInfo
and when make the cmd to buy post your condition, I show you small example
pawn Код:
enum pooInfo
{
    pLevel,
};
new PlayerInfo[MAX_PLAYERS][pooInfo];

public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmd, "/buy", true) == 0)
    {
        if(PlayerInfo[playerid][pLevel] =>5)
        {
            balabla
            }
        return 1;
        }
return 0;
}
Reply


Messages In This Thread
Cars - by Brka - 18.01.2012, 11:23
Re: Cars - by mineralo - 18.01.2012, 12:02
Re: Cars - by Brka - 18.01.2012, 13:27
Re: Cars - by mineralo - 18.01.2012, 14:31

Forum Jump:


Users browsing this thread: 1 Guest(s)