Stock Variable?
#2

pawn Код:
new clothes1[MAX_PLAYERS;

stock hasclothes1(playerid)
{
    new istr[15];

    if(clothes1[playerid] == 1) istr = "has clothes1";
    else if(clothes1[playerid] == 0) istr = "has no clothes1";

    return istr;
}

Usage:

printf("%s %s", pname(playerid), hasclothes1(playerid));
Reply


Messages In This Thread
Stock Variable? - by Admigo - 04.12.2011, 09:40
Re: Stock Variable? - by [L3th4l] - 04.12.2011, 09:45
Re: Stock Variable? - by Admigo - 04.12.2011, 09:48

Forum Jump:


Users browsing this thread: 2 Guest(s)