A /inv command help
#2

pawn Код:
stock ShowInv(playerid, playerb)
{
    new string[110];
    SendClientMessage(playerid, COLOR_DARKRED, "_____________________________________________________");
    format(string, sizeof(string), "Packages: %s | Materials: %d | Weed: %d | Crack: %d | Cigar: %d", RPPN(playerb), PlayerInfo[playerb][pMaterials], PlayerInfo[playerb][pWeed], PlayerInfo[playerb][pCrack], PlayerInfo[playerb][pCigar]);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string, sizeof(string), "Sprunk: %d | Spray: %d | Ropes: %d | Blindfolds: %d", PlayerInfo[playerb][pSprunk], PlayerInfo[playerb][pSpray], PlayerInfo[playerb][pRope], PlayerInfo[playerb][pBlindfold]);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string, sizeof(string), "Gas Can: %d | Scopes: %d | Loyalty Points: %d | Skin: %d | Int: %d | VW: %d", PlayerInfo[playerb][pGas], PlayerInfo[playerb][pScope], PlayerInfo[playerb][pLPoints], PlayerInfo[playerb][pModel], GetPlayerInterior(playerb), GetPlayerVirtualWorld(playerb));
    SendClientMessage(playerid, COLOR_GREY, string);
    format(string, sizeof(string), "Gate 1: %d | Gate 2: %d | Gate 3: %d | VIP: %s | VIP Bonus Points: %d", PlayerInfo[playerb][pGate][0], PlayerInfo[playerb][pGate][1], PlayerInfo[playerb][pGate][2], RPVIPN(playerb), PlayerInfo[playerb][pReward]);
    SendClientMessage(playerid, COLOR_VIP, string);
    SendClientMessage(playerid, COLOR_DARKRED, "_____________________________________________________");
    return 1;
}
Reply


Messages In This Thread
A /inv command help (Will REP) - by MichaelWharton101 - 12.11.2012, 00:32
Re: A /inv command help - by Ballu Miaa - 12.11.2012, 01:51
Re: A /inv command help - by MichaelWharton101 - 12.11.2012, 01:54
Respuesta: A /inv command help - by ThePhenix - 12.11.2012, 01:56
Re: A /inv command help - by MichaelWharton101 - 12.11.2012, 02:12

Forum Jump:


Users browsing this thread: 1 Guest(s)