Can't receive house info?
#1

pawn Код:
enum hhInfo
{
    hOwner[128], //HouseInfo[house][hOwner],HouseInfo[house][hPrice],HouseInfo[house][hLock],HouseInfo[house][hRentable]);
    hPrice,
    hLock,
    hRentable,
}
pawn Код:
if(house != 1000)
    {
        format(string, sizeof(string),"(Property): Owner:[%s] Value:[%d] Locked:[%d] Rentable:[%d]", HouseInfo[hhInfo][hOwner],HouseInfo[hhInfo][hPrice],HouseInfo[hhInfo][hLock],HouseInfo[house][hRentable]);
        SendClientMessage(playerid,statscolor2,string);
    }
So, basically, all that appears is a black textdraw and the info won't appear, the thing is, the enum was defined but I'm not sure if the text-draw thingy is working. Keep in mind before eating me alive that I'm editing the script for someone else, and it should be grabbing the info, but textdraw might not be working? I mean all that appears is a black box and I get these warnings which seem to be irrelevant with the damn info:

pawn Код:
C:\Users\Jim\Desktop\SA-MP\gamemodes\PR-RP.pwn(17627) : warning 203: symbol is never used: "CreateCurrentPageTextDraw"
C:\Users\Jim\Desktop\SA-MP\gamemodes\PR-RP.pwn(17627) : warning 203: symbol is never used: "CreateFurnitureSelectionMenu"
C:\Users\Jim\Desktop\SA-MP\gamemodes\PR-RP.pwn(17627) : warning 203: symbol is never used: "CreatePlayerBackgroundTextDraw"
C:\Users\Jim\Desktop\SA-MP\gamemodes\PR-RP.pwn(17627) : warning 203: symbol is never used: "CreatePlayerDialogButton"
C:\Users\Jim\Desktop\SA-MP\gamemodes\PR-RP.pwn(17627) : warning 203: symbol is never used: "CreatePlayerHeaderTextDraw"
Reply
#2

I looked all over the script but nothing appears to be wrong, I'm so confused, it will appear as a black box and not the way it should.
Reply
#3

Bump! :'/.
Reply
#4

Question has remained unanswered..
Reply
#5

symbol is never used

Try place //
//CreateCurrentPageTextDraw
...
Reply
#6

Still not fixed..
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)