String not Sending
#1

Hello well here is my showstat function:
pawn Код:
format(string, sizeof(string), " Statistics of %s", RPN(playerb));
    SendClientMessage(playerid, COLOR_ORANGE, string);
    format(string, sizeof(string), "Level: [%d] - Gender: [%s] - Age: [%d] - Money: [$%d] - Bank: [$%d] - Health: [%0.1f] - Armor: [%0.1f]", PlayerInfo[playerb][pLevel], gender, PlayerInfo[playerb][pAge], PlayerInfo[playerb][pMoney], PlayerInfo[playerb][pBank], H, A);
    SendClientMessage(playerid, COLOR_LIGHTRED, string);
    format(string, sizeof(string), "Phone Number: [%d] - Playing Hours: [%d] Next Level: [%d/%d] - Respect Points: [%d]", PlayerInfo[playerb][pNumber], PlayerInfo[playerb][pHours], exp, expamount, PlayerInfo[playerb][pExp]);
    SendClientMessage(playerid, COLOR_LIGHTRED, string);
    format(string, sizeof(string), "Occupation: [%s] - Wanted Level: [%d] - Crimes Committed: [%d] - Arrested: [%dx] - Kill: [%d] - Death: [%d]", RPJN(playerb), PlayerInfo[playerb][pWanted], PlayerInfo[playerb][pCrimes], PlayerInfo[playerb][pArrested], PlayerInfo[playerb][pKill], PlayerInfo[playerb][pDeath]);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string, sizeof(string), "Gas Can: [%d litres] - Materials: [%d]- Weed: [%d] - Cocaine: [%d] - Cigarettes: [%d] - Sprays: [%d] - Ropes: [%d] - Blindfolds: [%d]", PlayerInfo[playerb][pGas], PlayerInfo[playerb][pMaterials], PlayerInfo[playerb][pWeed], PlayerInfo[playerb][pcocaine], PlayerInfo[playerb][pCigar], PlayerInfo[playerb][pSpray], PlayerInfo[playerb][pRope], PlayerInfo[playerb][pBlindfold]);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string, sizeof(string), "Organization: [%s] - Rank: [%s] - Gates: 1[ID %s] - 2[ID %s] - 3[ID %s] - VIP:[%s] - Job[%s] - Job 2[%s]", org, rank, RPGAK1(playerb), RPGAK2(playerb), RPGAK3(playerb), RPVIPN(playerb), JOBN(playerid), VJOBN(playerid));
    SendClientMessage(playerid, COLOR_RADIO, string);
    format(string, sizeof(string), "Business: [%s] - Business: 2 [%s] House: [%s] - Garage: [%s] - Vehicles: 1[%s (ID:%d) - 2[%s (ID:%d)]", RBT(PlayerInfo[playerb][pBiz]), RBT(PlayerInfo[playerb][pVBiz]), RPHK(playerb), RPGK(playerb), RVN(GetVehicleModel(PlayerInfo[playerb][pVeh])), PlayerInfo[playerb][pVeh], RVN(GetVehicleModel(PlayerInfo[playerb][pVVeh])), PlayerInfo[playerb][pVVeh]);
    SendClientMessage(playerid, COLOR_RADIO, string);

For some reason this string won't send but all the others will:
pawn Код:
format(string, sizeof(string), "Organization: [%s] - Rank: [%s] - Gates: 1[ID %s] - 2[ID %s] - 3[ID %s] - VIP:[%s] - Job[%s] - Job 2[%s]", org, rank, RPGAK1(playerb), RPGAK2(playerb), RPGAK3(playerb), RPVIPN(playerb), JOBN(playerid), VJOBN(playerid));
    SendClientMessage(playerid, COLOR_RADIO, string);
Reply
#2

thats odd, cuz even if string was not big enough for that particular text it should send something
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)