Stock Variable?
#3

Quote:
Originally Posted by [L3th4l]
Посмотреть сообщение
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));
Omg!Thank you so much! Works great!!!! Rep+
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: 1 Guest(s)