02.04.2013, 10:22
(66384) : error 017: undefined symbol "RPBK"
(66386) : error 017: undefined symbol "RPVIPBK"
(66386) : error 017: undefined symbol "RPVIPBK"
pawn Код:
CMD:bizstats(playerid, params[])
{
new string[128], playerb = playerid, status[16], status2[16];
// Business Status for non-owners
if(PlayerInfo[playerb][pBiz]) format(status, sizeof(status), "%s", RBS(PlayerInfo[playerb][pBiz]));
else if(!PlayerInfo[playerb][pBiz]) format(status, sizeof(status), "None");
if(PlayerInfo[playerb][pVBiz]) format(status2, sizeof(status2), "%s", RBS(PlayerInfo[playerb][pVBiz]));
else if(!PlayerInfo[playerb][pVBiz]) format(status2, sizeof(status2), "None");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "_____________________________________________________");
format(string, sizeof(string), "Businesses of %s", RPN(playerb));
SendClientMessage(playerid, COLOR_ORANGE, string);
format(string, sizeof(string), "Business 1: %s | ID: %s | Level: %s | Status: %s | Products: %s | Vault: %s", RBT(PlayerInfo[playerb][pBiz]), RPBK(playerb), RPBL(playerb),status, RPBP(playerb), RPBM(playerb)); // lines 66384
SendClientMessage(playerid, COLOR_WHITE, string);
format(string, sizeof(string), "Business 2: %s | ID: %s | Level: %s | Status: %s | Products: %s | Vault: %s", RBT(PlayerInfo[playerb][pVBiz]), RPVIPBK(playerb), RPVIPBL(playerb),status2, RPVIPBP(playerb), RPVIPBM(playerb)); // lines 66386
SendClientMessage(playerid, COLOR_FADE2, string);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "_____________________________________________________");
return 1;
}