Stock
#1

hello
will this not work??
pawn Код:
stock Ranks(playerid) {

    if(PlayerInfo[playerid][pKills] == 0) {
        PlayerInfo[playerid][pRank] = "Wannabe";
        }

    else if(PlayerInfo[playerid][pKills] >= 1) {
        PlayerInfo[playerid][pRank] = "Newbie";
        }
    return 1;
    }
it gives error:
Код:
 error 006: must be assigned to an array
on
pawn Код:
PlayerInfo[playerid][pRank] = "Wannabe";
and
pawn Код:
PlayerInfo[playerid][pRank] = "Newbie";
Reply


Messages In This Thread
Stock - by emokidx - 08.08.2011, 10:22
Re: Stock - by JaTochNietDan - 08.08.2011, 10:39
Re: Stock - by emokidx - 08.08.2011, 10:40
Re: Stock - by JaTochNietDan - 08.08.2011, 10:42
Re: Stock - by emokidx - 08.08.2011, 10:43
Re: Stock - by Sascha - 08.08.2011, 10:48
Re: Stock - by emokidx - 08.08.2011, 10:49
Re: Stock - by Sascha - 08.08.2011, 10:50
Re: Stock - by JaTochNietDan - 08.08.2011, 10:50
Re: Stock - by emokidx - 08.08.2011, 10:53
Re: Stock - by Babul - 08.08.2011, 10:54
Re: Stock - by emokidx - 08.08.2011, 10:57
Re: Stock - by Babul - 08.08.2011, 11:19
Re: Stock - by emokidx - 09.08.2011, 07:07
Re: Stock - by Lorenc_ - 09.08.2011, 07:14

Forum Jump:


Users browsing this thread: 1 Guest(s)