SA-MP Forums Archive
Help this error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help this error (/showthread.php?tid=427588)



Help this error - ajam123 - 02.04.2013

(66384) : error 017: undefined symbol "RPBK"
(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;
}



Re: Help this error - Isolated - 02.04.2013

what's your code for RPBK and RPVIPBK?


Re: Help this error - ajam123 - 02.04.2013

Quote:
Originally Posted by MikeLovesToHelp
Посмотреть сообщение
what's your code for RPBK and RPVIPBK?
I dont know, I just find at gamemode


Re: Help this error - ajam123 - 03.04.2013

bumb!


Re: Help this error - Abhishek. - 03.04.2013

search those two keywords RPBK RPVIPBK as per my thinking they would be a strok and post there codes here .I dont think so there would be something like this there there would be the error whouldnt have occured


Re: Help this error - ajam123 - 03.04.2013

Not found :/